Show / Hide Table of Contents

Class LiteralItem

Represents a literal text item. Use it for sending raw printer commands.

Inheritance
System.Object
Item
LiteralItem
Inherited Members
PropertyChanged
OnPropertyChanged(Item, String)
Name
X
Y
UnitType
Dpi
DataField
DataFieldFormatString
UseCache
CacheItemId
PrintAsGraphic
Comments
Tag
Locked
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:Neodynamic.SDK.ThermalLabel.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
Clone()

ConvertToUnit(UnitType)

Declaration
public override void ConvertToUnit(UnitType unit)
Parameters
Type Name Description
UnitType unit
Overrides
ConvertToUnit(UnitType)

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.

Overrides
UpdateFrom(Item)
Back to top Copyright © 2003- Neodynamic SRL
http://www.neodynamic.com