GetSHXText

  Classes Reference > Functional Reference >

GetSHXText

Previous pageReturn to chapter overviewNext page

Returns the set of TsgSHXVertex.

Unit

SHX.pas

procedure GetSHXText(ASHXStyles: TsgSHXFontlist; const Style: string; Text: sgRawByteString; WideText: WideString; CodePage: Integer; Poly: TList; var Above, Below, Left, Bottom, Right, Top: Double);

ASHXStyles – an instance of the TsgSHXFontList object

Style – defines converting style

Text – object of sgRawByteString type

WideText – wide text string

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

Poly – vertexes list of the SHX Font text string

Above – above value of the SHX Font defined in Style

Below – below value of the SHX Font defined in Style  

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

Description

Returns the set of TsgSHXVertex basing on text string to SHX Font text string with predefined by ASHXStyles and Style parameters.

Returns:

• in Poly the set of vertexes of the converted 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 converted SHX Font text string

Go to CAD VCL Enterprise