VCGetDimItemLineType
VCSetDimItemLineType


Version:

1.2

Description:

Used to get the line type of the selected dimension item. Each dimension item can be have a 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.

Declaration:

 

C/C++

extern "C" short WINAPI VCGetDimItemLineType(short* iError, short i);
extern "C" void WINAPI VCSetDimItemLineType(short* iError, short i, short j);

Delphi

function VCGetDimItemLineType(var iError: Smallint; i: Smallint):Smallint; stdcall;
procedure VCSetDimItemLineType(var iError: Smallint; i: Smallint; j: Smallint); stdcall;

ActiveX/COM

Function GetDimItemLineType(ByVal i As Integer) As Integer
Sub SetDimItemLineType(ByVal i As Integer, ByVal j As Integer)

Parameters:

i - the dimension item number.
0 - Dimension Line
1 - Left Arrow
2 - Right Arrow
3 - Left Extension
4 - Right Extension
5 - Dim Text
j
 - the line type value.

Notes:

 

See Also:

VCGetDimItemLineWidth, VCGetDimDisplayItemName, VCGetDimItemShow, VCGetDimItemLineType, VCGetDimItemColor