VCGetDimDisplayItemName


Version:

1.2

Description:

Returns the dimension display item name.

Declaration:

 

C/C++

extern "C" short WINAPI VCGetDimDisplayItemName(short* iError, short i, char* pS);

Delphi

function VCGetDimDisplayItemName(var iError: Smallint; i: Smallint; pS PAnsiChar):Smallint; stdcall;

ActiveX/COM

Function GetDimDisplayItemName(ByVal i As Integer) As String

Parameters:

w - the item index
pS
- the dimension item name

Notes:

The elements that make up a dimension include the dimension line, left and right extension lines, left and right arrow and the dimension text. The API gives complete control over the visual properties of each of the dimension elements independent of each other. Changing the properties of dimension elements will not effect previously drawn dimensions. VCGetDimDisplayItemName returns the element name at the specified index.

See Also:

VCGetDimItemLineType, VCGetDimItemLineWidth, VCGetDimItemShow, VCGetDimItemColor