UniPRT SDK  v1.0.0.0
com.UniPRT.Sdk.LabelMaker.Abstract.AText Class Referenceabstract
Inheritance diagram for com.UniPRT.Sdk.LabelMaker.Abstract.AText:
com.UniPRT.Sdk.LabelMaker.Interface.IText com.UniPRT.Sdk.LabelMaker.Interface.ITextSettings com.UniPRT.Sdk.LabelMaker.Interface.IFont com.UniPRT.Sdk.LabelMaker.Interface.IFontStyle com.UniPRT.Sdk.LabelMaker.Interface.IFontSizeUnits com.UniPRT.Sdk.LabelMaker.Interface.IAlignment com.UniPRT.Sdk.LabelMaker.Interface.IRotation com.UniPRT.Sdk.LabelMaker.PGL.Text com.UniPRT.Sdk.LabelMaker.TSPL.Text

Public Member Functions

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

Protected Member Functions

 AText ()
 
 AText (ITextItem text)
 

Private Attributes

List< ITextItemtextItems
 
IRuler ruler
 
String fontName
 
FontStyleEnum fontStyle = FontStyleEnum.Normal
 
FontSizeUnitsEnum fontSizeUnits = FontSizeUnitsEnum.Points
 
AlignEnum alignment = AlignEnum.Default
 
RotateEnum rotation = RotateEnum.None
 

Constructor & Destructor Documentation

◆ AText() [1/2]

com.UniPRT.Sdk.LabelMaker.Abstract.AText.AText ( )
protected

◆ AText() [2/2]

com.UniPRT.Sdk.LabelMaker.Abstract.AText.AText ( ITextItem  text)
protected

Member Function Documentation

◆ GetAlignment()

AlignEnum com.UniPRT.Sdk.LabelMaker.Abstract.AText.GetAlignment ( )

◆ GetFontName()

String com.UniPRT.Sdk.LabelMaker.Abstract.AText.GetFontName ( )

◆ GetFontSizeUnits()

FontSizeUnitsEnum com.UniPRT.Sdk.LabelMaker.Abstract.AText.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 com.UniPRT.Sdk.LabelMaker.Interface.IFontSizeUnits.

References com.UniPRT.Sdk.LabelMaker.Abstract.AText.fontSizeUnits.

Referenced by com.UniPRT.Sdk.LabelMaker.PGL.Text.toString(), and com.UniPRT.Sdk.LabelMaker.TSPL.Text.toString().

◆ GetFontStyle()

◆ GetRotation()

RotateEnum com.UniPRT.Sdk.LabelMaker.Abstract.AText.GetRotation ( )

◆ GetRuler()

IRuler com.UniPRT.Sdk.LabelMaker.Abstract.AText.GetRuler ( )

Ruler to use for text positioning and font size if using ruler for font scaling/resizing.

Implements com.UniPRT.Sdk.LabelMaker.Interface.ITextSettings.

References com.UniPRT.Sdk.LabelMaker.Abstract.AText.ruler.

Referenced by com.UniPRT.Sdk.LabelMaker.PGL.Text.toString(), and com.UniPRT.Sdk.LabelMaker.TSPL.Text.toString().

◆ GetText()

List<ITextItem> com.UniPRT.Sdk.LabelMaker.Abstract.AText.GetText ( )

◆ SetAlignment()

void com.UniPRT.Sdk.LabelMaker.Abstract.AText.SetAlignment ( AlignEnum  alignment)

◆ SetFontName()

void com.UniPRT.Sdk.LabelMaker.Abstract.AText.SetFontName ( String  fontName)

◆ SetFontSizeUnits()

void com.UniPRT.Sdk.LabelMaker.Abstract.AText.SetFontSizeUnits ( FontSizeUnitsEnum  fontSizeUnits)

◆ SetFontStyle()

void com.UniPRT.Sdk.LabelMaker.Abstract.AText.SetFontStyle ( FontStyleEnum  fontStyle)

◆ SetRotation()

void com.UniPRT.Sdk.LabelMaker.Abstract.AText.SetRotation ( RotateEnum  rotation)

◆ SetRuler()

void com.UniPRT.Sdk.LabelMaker.Abstract.AText.SetRuler ( IRuler  ruler)

◆ SetText()

void com.UniPRT.Sdk.LabelMaker.Abstract.AText.SetText ( List< ITextItem textItems)

◆ toString()

String com.UniPRT.Sdk.LabelMaker.Abstract.AText.toString ( )

Member Data Documentation

◆ alignment

◆ fontName

String com.UniPRT.Sdk.LabelMaker.Abstract.AText.fontName
private

◆ fontSizeUnits

◆ fontStyle

◆ rotation

◆ ruler

◆ textItems


The documentation for this class was generated from the following file: