VCGetCurrentEntityPoint


Version:

1.2

Description:

Retrieves the specified point from the current entity.

Declaration:

 

C/C++

extern "C" Point2D WINAPI VCGetCurrentEntityPoint(short* iError, short iIndex);
extern "C" void WINAPI VCGetCurrentEntityPointBP(short* iError, short iIndex, Point2D* dpRet);

Delphi

procedure VCGetCurrentEntityPointBP(var iError: smallint; iIndex: smallint; var dpRet: Point2D); stdcall;

ActiveX/COM

Function GetCurrentEntityPoint(ByVal iIndex As Integer) As IVCPoint2D

Parameters:

iIndex - the index of the point to retrieve.
dpRet - the returned point.

Return Value:

the specified point

Notes:

Any drawing entity is made up of construction points placed while constructing the entity or calculated from these placements. In order to retrieve any of these values from existing entities for use with any other constructions or external cataloging it may be necessary to use VCGetCurrentEntityPoint in order to retrieve this information. The current entity is set with VCSetCurrentEntity, VCFirstEntity, VCNextEntity, or VCLastEntity.

See Also:

VCFirstEntity, VCGetCurrentEntityPoint3D, VCLastEntity, VCSetCurrentEntity