Class CustomReceiptFormatter.TextElement
Inheritance
System.Object
CustomReceiptFormatter.TextElement
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SIX.TimApi.Receipts
Assembly: TimApi.dll
Syntax
public class TextElement
Constructors
TextElement(CustomReceiptFormatter.TextType, CustomReceiptFormatter.TextAlignment)
Declaration
public TextElement(CustomReceiptFormatter.TextType type, CustomReceiptFormatter.TextAlignment alignment)
Parameters
Type | Name | Description |
---|---|---|
CustomReceiptFormatter.TextType | type | |
CustomReceiptFormatter.TextAlignment | alignment |
TextElement(String, CustomReceiptFormatter.TextAlignment)
Declaration
public TextElement(string text, CustomReceiptFormatter.TextAlignment alignment)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | |
CustomReceiptFormatter.TextAlignment | alignment |
Methods
getAlignment()
Declaration
public CustomReceiptFormatter.TextAlignment getAlignment()
Returns
Type | Description |
---|---|
CustomReceiptFormatter.TextAlignment |
getText()
Declaration
public string getText()
Returns
Type | Description |
---|---|
System.String |
getType()
Declaration
public CustomReceiptFormatter.TextType getType()
Returns
Type | Description |
---|---|
CustomReceiptFormatter.TextType |