Version: |
1.2 |
Description: |
Clears the referenced drawing world after prompting the user for verification. |
Declaration: |
|
C/C++ |
extern "C" void WINAPI VCClearDrawing(WORLDHANDLE hW); |
Delphi |
procedure VCClearDrawing(hW: Longint); stdcall; |
ActiveX/COM |
Sub ClearDrawing(ByVal hW As Long) |
Parameters: |
hW - the WORLDHANDLE to reference open drawing worlds. |
Notes: |
Clears the referenced drawing creating a "blank slate" for the user. The command erases all the entities in the drawing but maintains the current settings. The user is prompted for verification when VCClearDrawing is used, but with VCClearDrawingNoPrompt they are not. The drawing handle can be retrieved with a VCGetCurrWorld function. |
See Also: |
VCClearDrawingNoPrompt, VCGetCurrWorld, VCNewWorld, VCIsDrawingDirty |