Reduces a point relocation sizes on screen to the grid cell sizes when the grid is active

Namespace: CADImport
Assembly: CADImport (in CADImport.dll)

Public Sub CorrectByGridAndOrtho( _ 
ByRef newPt As Point, _ 
ByVal oldX As Integer, _ 
ByVal oldY As Integer, _ 
ByVal orthoActive As Boolean
)
This language is not supported or no code example is available.
public void CorrectByGridAndOrtho( 
ref Point newPt
int oldX
int oldY
bool orthoActive 
)
This language is not supported or no code example is available.

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

Windows NT 4.0, Windows 98, Windows XP, Windows Server 2003, Windows Vista; Windows Server 2008 R2, Windows 7, WIndows10

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0 - 4, NET6

.NET Framework Client Profile

Supported in: 4, 3.5 SP1, NET6