Reduces a point relocation sizes on screen to the grid cell sizes when the grid is active
Namespace:
CADImport
Assembly: CADImport (in CADImport.dll)
Syntax
Visual Basic (Declaration) |
Public Sub CorrectByGridAndOrtho( _ ByRef newPt As Point, _ ByVal oldX As Integer, _ ByVal oldY As Integer, _ ByVal orthoActive As Boolean _ ) |
Parameters
-
newPt
-
Type: Point
A new screen point
-
oldX
-
Type: int
An old X screen point coordinate
-
oldY
-
Type: int
An old Y screen point coordinate
-
orthoActive
-
Type: bool
Specifies if ortho mode for the control is active
Platforms
Version Information
.NET Framework
Supported in: 2.0 - 4, NET6
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
See Also