Skip to main content

AddStyle

Description​

Adds the TsgShxFont object with the specified name in the AName variable with predefined parameters.

ValueTypeDescription
ANamestringThe new SHX Font
AFontNamestringThe source SHX Font
AVerticalbooleanThe font has a vertical orientation
AUpSideDownbooleanThe font is mirrored in X
ABackwardsbooleanThe font is rotated around X
AObliqueAngledoubleThe oblique angle of the destination SHX Font
AWidthdoubleThe width value of the destination SHX Font

Syntax​

procedure AddStyle(const AName, AFontName: string; AVertical, AUpSideDown, ABackwards: Boolean; AObliqueAngle, AWidth: Double);