UniPRT SDK  v1.0.0.0
IText Interface Reference
Inheritance diagram for IText:
ITextSettings IFont IFontStyle IFontSizeUnits IAlignment IRotation AText 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.
 

Member Function Documentation

◆ GetFontSizeUnits()

FontSizeUnitsEnum GetFontSizeUnits ( )
inherited

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.

Implemented in AText.