GetSHXTextFromStyle

  Classes Reference > Functional Reference >

GetSHXTextFromStyle

Previous pageReturn to chapter overviewNext page

Returns the set of TsgSHXVertex.

Unit

SHX.pas

procedure GetSHXTextFromStyle(ASHXStyles: TsgSHXFontlist; PStyle : PsgTextStyle; 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

PStyle – 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 PStyle 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