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. |
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 |