DrawSHXText

  Classes Reference > Functional Reference >

DrawSHXText

Previous pageReturn to chapter overviewNext page

Returns the set of TsgSHXVertex.

Unit

SHX.pas

procedure DrawSHXText(ASHXStyles: TsgSHXFontlist; const Font: string; Text: sgRawByteString; WideText: WideString; CodePage: Integer; Vertical, Backward: Boolean; Poly: TList; var Above, Below, Left, Bottom, Right, Top: Double);

ASHXStyles – an instance of the TsgSHXFontList object

Font – name of the SHX Font

Text – object of sgRawByteString type

WideText – wide text string

CodePage – code page that specifies symbols in SHX. Ignored in Delphi versions older than 2009.

Vertical, Backward – text font format properties:

Value

Meaning

Vertical

text has a vertical orientation

Backward

text is rotated around X

Poly – vertexes list of the SHX Font text string

Above – above value of the SHX Font defined in Font

Below – below value of the SHX Font defined in Font  

Left, Bottom, Right, Top – rectangle of the SHX Font text string

Description

Returns the set of TsgSHXVertex basing on specified in Text or WideText SHX Font text string with predefined by ASHXStyles, Vertical, Backward properties.

Returns:

in Poly the set of vertexes of SHX Font text string

in Above, Below the above and below parameters of the SHX Font defined in Font

in Left, Bottom, Right, Top the border rectangle of the SHX Font text string

Go to CAD VCL Enterprise