VCIsWorldValid


Version:

1.2

Description:

Verifies whether or not the currently set world is valid for displaying Visual CADD™ graphical information.

Declaration:

 

C/C++

extern "C" vbool WINAPI VCIsWorldValid(WORLDHANDLE hW);

Delphi

function VCIsWorldValid(hW: Longint):Wordbool; stdcall;

ActiveX/COM

Function IsWorldValid(ByVal hW As Long) As Integer

Parameters:

hW is the Visual CADD™ world handle used to reference drawing areas.
Returns
- an integer value representing true or false.
0 is false.
1 is true.

Notes:

While and Windows object has a hWnd and thus can be established as the current world. Most Windows objects are not suitable viewing areas for graphics. VCIsCurrentWorldValid checks to see if the previously established object is valid and returns a true or false.

See Also:

VCIsCurrentWorldValid, VCIsWorldEmpty