VCGetDimItemLineWidth
VCSetDimItemLineWidth


Version:

1.2

Description:

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 VCGetDimItemLineWidth(short* iError, short i);
extern "C" void WINAPI VCSetDimItemLineWidth(short* iError, short i, short j);

Delphi

function VCGetDimItemLineWidth(var iError: Smallint; i: Smallint):Smallint; stdcall;
procedure VCSetDimItemLineWidth(var iError: Smallint; i: Smallint; j: Smallint); stdcall;

ActiveX/COM

Function GetDimItemLineWidth(ByVal i As Integer) As Integer
Sub SetDimItemLineWidth(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 width value

Notes:

 

See Also:

VCGetDimDisplayItemName, VCGetDimItemLineType, VCGetDimItemShow, VCGetDimItemLineType, VCGetDimItemColor