Reduces a point coordinates increment to X or Y axis when ortho mode is active
Namespace:
CADImport
Assembly: CADImport (in CADImport.dll)
Syntax
Visual Basic (Declaration) |
Public Shared Sub CorrectByOrtho( _ ByRef newX As Integer, _ ByRef newY As Integer, _ ByVal oldX As Integer, _ ByVal oldY As Integer _ ) |
C#
|
public static void CorrectByOrtho( ref int newX, ref int newY, int oldX, int oldY ) |
Parameters
-
newX
-
Type: int
A final X coordinate
-
newY
-
Type: int
A final Y coordinate
-
oldX
-
Type: int
A start X coordinate
-
oldY
-
Type: int
A start Y coordinate
Platforms
Version Information
.NET Framework
Supported in: 2.0 - 4, NET6
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
See Also