VCGetUserToolSnapable
VCSetUserToolSnapable


Version:

4.0

Description:

Sets the running snaps mode for the current user tool.

Declaration:

 

C/C++

extern "C" vbool WINAPI VCGetUserToolSnapable(void);
extern "C" void WINAPI VCSetUserToolSnapable(vbool tf);

Delphi

function VCGetUserToolSnapable(): Wordbool; stdcall;
procedure VCSetUserToolSnapable(tf: Wordbool); stdcall;

ActiveX/COM

Function GetUserToolSnapable() As Integer
Sub SetUserToolSnapable(ByVal tf As Integer)

Parameters:

tf - flag for setting the running snaps mode.
0 - Enabled running snaps for the current user tool.
1 - Disable running snaps for the current user tool.

Return Value:

The current running snap mode.

iError Code:

None.

Notes:

User tools are not running snap enabled by default. If you want your user tools to use running snaps, you need to specifically enable them each time the user tools runs.

If you are using the Visual CADD™ DLL's in a stand-alone application, you must use VCOnTimerRunningSnap to have running snaps work.

See Also:

VCOnTimerRunningSnap, VCGetRunningSnapType, VCGetAllLayersSnap, VCGetSnapPercentVal, VCGetSymSnap