UniPRT SDK  v1.0.0.0
AText Class Referenceabstract
Inheritance diagram for AText:
IText ITextSettings IFont IFontStyle IFontSizeUnits IAlignment IRotation Text Text

Public Member Functions

AlignEnum GetAlignment ()
 
String GetFontName ()
 The name of the font to use.
 
FontSizeUnitsEnum GetFontSizeUnits ()
 Character sizing select between using font points or other sizing unit. More...
 
FontStyleEnum GetFontStyle ()
 
RotateEnum GetRotation ()
 
IRuler GetRuler ()
 Ruler to use for text positioning and font size if using ruler for font scaling/resizing.
 
List< ITextItemGetText ()
 List of text items that use the same text settings.
 
void SetAlignment (AlignEnum alignment)
 
void SetFontName (String fontName)
 
void SetFontSizeUnits (FontSizeUnitsEnum fontSizeUnits)
 
void SetFontStyle (FontStyleEnum fontStyle)
 
void SetRotation (RotateEnum rotation)
 
void SetRuler (IRuler ruler)
 
void SetText (List< ITextItem > textItems)
 
String ToString ()
 Returns the string that can be sent to printer.
 
String toString ()
 

Protected Member Functions

 AText (ITextItem text)
 

Member Function Documentation

◆ GetFontSizeUnits()

FontSizeUnitsEnum GetFontSizeUnits ( )

Character sizing select between using font points or other sizing unit.

For X/Y char size is in terms of font points, 1 point = 1/72 inch (~0.35 mm).
Note that some fonts may not be scalable. Any values specified outside of minimum/maximum ranges will be limited to the minimum or maximum.

Implements IFontSizeUnits.