LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

SnapToGridOptions Property






Gets or sets the snap to grid options for this AnnContainer.
Syntax
public AnnSnapToGridOptions SnapToGridOptions {get; set;}
'Declaration
 
Public Property SnapToGridOptions As AnnSnapToGridOptions
'Usage
 
Dim instance As AnnContainer
Dim value As AnnSnapToGridOptions
 
instance.SnapToGridOptions = value
 
value = instance.SnapToGridOptions
public AnnSnapToGridOptions SnapToGridOptions {get; set;}
 get_SnapToGridOptions();
set_SnapToGridOptions(value);
public:
property AnnSnapToGridOptions^ SnapToGridOptions {
   AnnSnapToGridOptions^ get();
   void set (    AnnSnapToGridOptions^ value);
}

Property Value

An object of type AnnSnapToGridOptions that specifies the current snap to grid options for this AnnContainer object. Default value is a new AnnSnapToGridOptions object with default values.
Remarks

Use this property to change current snap to grid options for this container. To enable the container to use snap to grid, you must also set the value of the EnableSnapToGrid property to true.

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

Example
For an example, refer to AnnSnapToGridOptions.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnContainer Class
AnnContainer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.