VCIsWorldEmpty


Version:

1.2

Description:

Checks to see if an existing drawing world contains any drawing entities.

Declaration:

 

C/C++

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

Delphi

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

ActiveX/COM

Function IsWorldEmpty(ByVal hW As Long) As Integer

Parameters:

hW - the Visual CADD™ worldhandle used internally to reference each open drawing world.

Returns
- an integer value representing true or false.
0 is false.
1 is true.

Notes:

Often before destroying or opening a new world is it useful to know whether the current world is empty.

See Also:

VCDestroyWorld, VCNewWorld, VCSetCurrWorld, VCIsCurrentWorldValid, VCGetCurrWorld