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(CustomReceiptFormatter.TextType, CustomReceiptFormatter.TextAlignment, ReceiptType)
Declaration
public TextElement(CustomReceiptFormatter.TextType type, CustomReceiptFormatter.TextAlignment alignment, ReceiptType receiptType)
Parameters
Type | Name | Description |
---|---|---|
CustomReceiptFormatter.TextType | type | |
CustomReceiptFormatter.TextAlignment | alignment | |
ReceiptType | receiptType |
TextElement(String, CustomReceiptFormatter.TextAlignment)
Declaration
public TextElement(string text, CustomReceiptFormatter.TextAlignment alignment)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | |
CustomReceiptFormatter.TextAlignment | alignment |
TextElement(String, CustomReceiptFormatter.TextAlignment, ReceiptType)
Declaration
public TextElement(string text, CustomReceiptFormatter.TextAlignment alignment, ReceiptType receiptType)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | |
CustomReceiptFormatter.TextAlignment | alignment | |
ReceiptType | receiptType |
Methods
getAlignment()
Declaration
public CustomReceiptFormatter.TextAlignment getAlignment()
Returns
Type | Description |
---|---|
CustomReceiptFormatter.TextAlignment |
getReceiptType()
Declaration
public ReceiptType? getReceiptType()
Returns
Type | Description |
---|---|
System.Nullable<ReceiptType> |
getText()
Declaration
public string getText()
Returns
Type | Description |
---|---|
System.String |
getType()
Declaration
public CustomReceiptFormatter.TextType getType()
Returns
Type | Description |
---|---|
CustomReceiptFormatter.TextType |