Class LiteralItem
Represents a literal text item. Use it for sending raw printer commands.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Neodynamic.SDK.Printing
Assembly: cs.temp.dll.dll
Syntax
public class LiteralItem : Item, IXmlTemplate, INotifyPropertyChanged
Constructors
LiteralItem()
Initializes a new instance of the LiteralItem class.
Declaration
public LiteralItem()
LiteralItem(String)
Initializes a new instance of the LiteralItem class with the specified text.
Declaration
public LiteralItem(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text. |
Properties
Text
Gets or sets the text. Default value is an empty string
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Clone()
Creates a copy of the current LiteralItem.
Declaration
public override Item Clone()
Returns
Type | Description |
---|---|
Item | A copy of the current LiteralItem. |
Overrides
ConvertToUnit(UnitType)
Declaration
public override void ConvertToUnit(UnitType unit)
Parameters
Type | Name | Description |
---|---|---|
UnitType | unit |
Overrides
UpdateFrom(Item)
Updates this LiteralItem object with the properties of the specified LiteralItem object.
Declaration
public override void UpdateFrom(Item item)
Parameters
Type | Name | Description |
---|---|---|
Item | item | The LiteralItem object that is used for updating this LiteralItem object. |