VCDrawCurrentEntity


Version:

1.2

Description:

Forces the current entity to be drawn.

Declaration:

 

C/C++

extern "C" void WINAPI VCDrawCurrentEntity(short* iError);

Delphi

procedure VCDrawCurrentEntity(var iError: Smallint); stdcall;

ActiveX/COM

Sub DrawCurrentEntity()

Parameters:

No additional parameters are used with this subroutine.

Notes:

After adding a new entity to the database, it is necessary to draw the entity on screen so the user may see the result. After the entity has been added it will be the last entity in the drawing. Use VCLastEntity to move to the new entity, then VCSetCurrentEntity to make it current, then VCDrawCurrentEntity can be used to draw the current entity.

See Also:

VCDrawCurrentEntityXOR, VCGetCurrentEntityHandle , VCLastEntity , VCSetCurrentEntity