VCGetTextHeight
VCSetTextHeight


Version:

1.2

Description:

Unlike most other Windows programs, Visual CADD™ measures text height in real world units, specifically inches, instead of points.

Declaration:

 

C/C++

extern "C" double WINAPI VCGetTextHeight(short* iError);
extern "C" void WINAPI VCGetTextHeightBP(short* iError, double* dRet);
extern "C" void WINAPI VCSetTextHeight(short* iError, double d);

Delphi

procedure VCGetTextHeightBP(var iError: Smallint; var dRet: Double); stdcall;
procedure VCSetTextHeight(var iError: Smallint; dRet: Double); stdcall;

ActiveX/COM

Function GetTextHeight() As Double
Sub SetTextHeight(ByVal d As Double)

Parameters:

dRet - the text height.

Notes:

 

See Also:

VCGetTextAspect, VCGetTextBold, VCGetTextCharSpace, VCGetTextColor, VCGetTextFontName, VCGetTextItalic, VCGetTextItalicValue, VCGetTextJustify, VCGetTextLayer, VCGetTextLineSpace, VCGetTextProSpacing, VCGetTextRot, VCGetTextString, VCGetTextUnderline