Public Member Functions | |
List< ITextItem > | GetText () |
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 () |
![]() | |
String | ToString () |
Returns the string that can be sent to printer. More... | |
Protected Member Functions | |
AText () | |
AText (ITextItem text) | |
Private Attributes | |
List< ITextItem > | textItems |
IRuler | ruler |
String | fontName |
FontStyleEnum | fontStyle = FontStyleEnum.Normal |
FontSizeUnitsEnum | fontSizeUnits = FontSizeUnitsEnum.Points |
AlignEnum | alignment = AlignEnum.Default |
RotateEnum | rotation = RotateEnum.None |
|
protected |
|
protected |
AlignEnum com.UniPRT.Sdk.LabelMaker.Abstract.AText.GetAlignment | ( | ) |
Implements com.UniPRT.Sdk.LabelMaker.Interface.IAlignment.
References com.UniPRT.Sdk.LabelMaker.Abstract.AText.alignment.
String com.UniPRT.Sdk.LabelMaker.Abstract.AText.GetFontName | ( | ) |
The name of the font to use.
Implements com.UniPRT.Sdk.LabelMaker.Interface.IFont.
References com.UniPRT.Sdk.LabelMaker.Abstract.AText.fontName.
Referenced by com.UniPRT.Sdk.LabelMaker.PGL.Text.toString(), and com.UniPRT.Sdk.LabelMaker.TSPL.Text.toString().
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().
FontStyleEnum com.UniPRT.Sdk.LabelMaker.Abstract.AText.GetFontStyle | ( | ) |
Implements com.UniPRT.Sdk.LabelMaker.Interface.IFontStyle.
References com.UniPRT.Sdk.LabelMaker.Abstract.AText.fontStyle.
Referenced by com.UniPRT.Sdk.LabelMaker.PGL.Text.toString().
RotateEnum com.UniPRT.Sdk.LabelMaker.Abstract.AText.GetRotation | ( | ) |
Implements com.UniPRT.Sdk.LabelMaker.Interface.IRotation.
References com.UniPRT.Sdk.LabelMaker.Abstract.AText.rotation.
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().
List<ITextItem> com.UniPRT.Sdk.LabelMaker.Abstract.AText.GetText | ( | ) |
List of text items that use the same text settings.
Implements com.UniPRT.Sdk.LabelMaker.Interface.IText.
References com.UniPRT.Sdk.LabelMaker.Abstract.AText.textItems.
Referenced by com.UniPRT.Sdk.LabelMaker.PGL.Text.toString(), and com.UniPRT.Sdk.LabelMaker.TSPL.Text.toString().
void com.UniPRT.Sdk.LabelMaker.Abstract.AText.SetAlignment | ( | AlignEnum | alignment | ) |
Implements com.UniPRT.Sdk.LabelMaker.Interface.IAlignment.
References com.UniPRT.Sdk.LabelMaker.Abstract.AText.alignment.
void com.UniPRT.Sdk.LabelMaker.Abstract.AText.SetFontName | ( | String | fontName | ) |
Implements com.UniPRT.Sdk.LabelMaker.Interface.IFont.
References com.UniPRT.Sdk.LabelMaker.Abstract.AText.fontName.
void com.UniPRT.Sdk.LabelMaker.Abstract.AText.SetFontSizeUnits | ( | FontSizeUnitsEnum | fontSizeUnits | ) |
void com.UniPRT.Sdk.LabelMaker.Abstract.AText.SetFontStyle | ( | FontStyleEnum | fontStyle | ) |
Implements com.UniPRT.Sdk.LabelMaker.Interface.IFontStyle.
References com.UniPRT.Sdk.LabelMaker.Abstract.AText.fontStyle.
void com.UniPRT.Sdk.LabelMaker.Abstract.AText.SetRotation | ( | RotateEnum | rotation | ) |
Implements com.UniPRT.Sdk.LabelMaker.Interface.IRotation.
References com.UniPRT.Sdk.LabelMaker.Abstract.AText.rotation.
void com.UniPRT.Sdk.LabelMaker.Abstract.AText.SetRuler | ( | IRuler | ruler | ) |
Implements com.UniPRT.Sdk.LabelMaker.Interface.ITextSettings.
References com.UniPRT.Sdk.LabelMaker.Abstract.AText.ruler.
void com.UniPRT.Sdk.LabelMaker.Abstract.AText.SetText | ( | List< ITextItem > | textItems | ) |
Implements com.UniPRT.Sdk.LabelMaker.Interface.IText.
References com.UniPRT.Sdk.LabelMaker.Abstract.AText.textItems.
String com.UniPRT.Sdk.LabelMaker.Abstract.AText.toString | ( | ) |
Reimplemented in com.UniPRT.Sdk.LabelMaker.TSPL.Text, and com.UniPRT.Sdk.LabelMaker.PGL.Text.
References com.UniPRT.Sdk.LabelMaker.Abstract.AText.textItems.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |