VCGetOrthoMode
VCSetOrthoMode


Version:

1.2

Description:

Specifies the state of the ortho toggle.

Declaration:

 

C/C++

extern "C" vbool WINAPI VCGetOrthoMode(short* iError);
extern "C" void WINAPI VCSetOrthoMode(short* iError, vbool tf);

Delphi

function VCGetOrthoMode(var iError: Smallint):Wordbool; stdcall;
procedure VCSetOrthoMode(var iError: Smallint; tf: Wordbool); stdcall;

ActiveX/COM

Function GetOrthoMode() As Integer
Sub SetOrthoMode(ByVal i As Integer)

Parameters:

tf - toggle setting
0 - Off (Unchecked)
1 - On (Checked)
2 - Restore previous state

Notes:

Ortho mode is one the more useful features of Visual CADD™ that constrains many construction and editing tools. This constraint only allows point placements along lines that lie at 90° increments from, or on, the ortho angle, from the first point placed in the command.

See Also:

VCGetOrthoAng