NSnapAndGlue Class Members
In This Topic
The following tables list the members exposed by NSnapAndGlue.
Public Constructors
Public Fields
Public Properties
| Name | Description |
| GeometryStrength | Specifies the strength (area) in which the geometry outline attract points (in pixels) |
| GeometryVerticesStrength | Specifies the strength (area) in which the geometry vertices attract points (in pixels) |
| GlueToGeometries | Specifies whether points can be glued to geometries. By default set to true. |
| GlueToPorts | Specifies whether points can be be glued to ports. By default set to true. |
| GlueToShapes | Specifies whether points can be be glued to shapes. By default set to true. |
| GridStrength | Specifies the strength (area) in which the grid lines attracts coordinates (in pixels) |
| GuidelinesStrength | Specifies the strength (area) in which the guidelines attracts coordinates (in pixels) |
| OwnerDrawing | Gets the drawing to which this object belongs |
| OwnerDrawingView | Gets the drawing owning this attribute |
| PortsStrength | Specifies the strength (area) in which the ports attract points (in pixels) |
| RotationStep | Controls the step to which rotation angles are snapped. 360 degrees must be divisible to the specified value. By default set to 45 degrees. |
| RotationTolerance | Controls the tolerance, under which the snapping of the rotation angles occurs. By default set to 5 degrees. |
| RulersStrength | Specifies the strength (area) in which the rulers ticks attracts coordinates (in pixels) |
| SnapRotation | Specifies whether rotation angles must be snapped. By default set to true |
| SnapToGeometries | Specifies whether to snap to geometries. By default set to true |
| SnapToGrid | Specifies whether coordinates should be snapped to the grid. By default set to true |
| SnapToGuidelines | Specifies whether coordinates should be snapped to guidelines. By default set to true |
| SnapToPorts | Specifies whether to snap to shape ports. By default set to true |
| SnapToRulers | Specifies whether coordinates should be snapped to the rulers. By default set to true |
| SnapToShapes | Specifies whether to snap to shapes. By default set to true. |
Top
Public Methods
| Name | Description |
| Snap1DPrimitiveEndPoint | Overloaded. Snaps the End Point of a 1D primitive (line, bezier, arc etc.). |
| Snap1DPrimitiveStartPoint | Snaps the Start Point of a 1D primitive (line, bezier, arc etc.). |
| SnapBeginPoint | Snaps the begin point of the specified shape, to the ports, geometries, shapes, guides, grids and rulers of the active page. |
| SnapBounds | Snaps the specified bounds sides (in drawing coordinates) to guides, grid and rules of the active page. |
| SnapControlPoint | Snaps a shape control point |
| SnapEndPoint | Snaps the end point of the specified shape, to the ports, geometries, shapes, guides, grids and rulers of the active page. |
| SnapGuidelineX | Snaps a guideline X coordinate to the grid and rulers |
| SnapGuidelineY | Snaps a guideline Y coordinate to the grid and rulers |
| SnapOutwardPort | Snaps the outward ports of the shape to other inward/outward ports. |
| SnapPinPoint | Snaps the specicified pin point |
| SnapPointToGuidelinesGridAndRulers | Snaps a point (in drawing coordinates) to the guidelines, grid and rulers of the active page. |
| SnapPointToPoint | Tries to snap a point to a point (in drawing coordinates). |
| SnapRotationAngle | Snaps the specified rotation angle |
| SnapXToGuidelines | Tries to snaps a X coordinate to a vertical guideline coordinate. |
| SnapYToGuidelines | Tries to snaps an Y coordinate to a horizontal guideline coordinate. |
Top
See Also