←Select platform

EnableSnapToGrid Property (AnnAutomation)

Summary

Gets or sets a value to determine whether snapping to grid is enabled for this AnnAutomation.

Syntax

C#
VB
C++
public bool EnableSnapToGrid {get; set;}
Public Property EnableSnapToGrid As Boolean
public: 
property bool EnableSnapToGrid { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

true if snap to grid option is enabled for this AnnAutomation, otherwise; false. Default value is false.

Remarks

This property will enable or disable the snap to grid options set in the AnnContainer.SnapToGridOptions property of the container in this AnnAutomation. It allows you to quickly enable/disable this feature by just changing this one property, by binding it to a user interface menu or check box item for instance.

This property will internally change the current AnnContainer.EnableSnapToGrid property.

For more information on snap to grid, refer to AnnSnapToGridOptions.

Example

For C#/VB examples, refer to AnnSnapToGridOptions.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Windows.Annotations Assembly
Click or drag to resize