VCGetDimItemShow
VCSetDimItemShow


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. Specifies if the selected dimension item is shown when placing or editing the dimension.

Declaration:

 

C/C++

extern "C" vbool WINAPI VCGetDimItemShow(short* iError, short i);
extern "C" void WINAPI VCSetDimItemShow(short* iError, short i, vbool tf);

Delphi

function VCGetDimItemShow(var iError: Smallint; i: Smallint):Wordbool; stdcall;
procedure VCSetDimItemShow(var iError: Smallint; i: Smallint; tf: Wordbool); stdcall;

ActiveX/COM

Function GetDimItemShow(ByVal i As Integer) As Integer
Sub SetDimItemShow(ByVal i As Integer, ByVal tf 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

tf - toggle setting
0 - Off (Unchecked)
1 - On (Checked)
2 - Restore previous state

Notes:

 

See Also:

VCGetDimItemLineWidth, VCGetDimItemLineType, VCGetDimDisplayItemName, VCGetDimItemColor