Class LabelDocument
Represents a label document on the editor's surface.
Inheritance
Inherited Members
Namespace: Neodynamic.Windows.ThermalLabelEditor
Assembly: cs.temp.dll.dll
Syntax
public class LabelDocument
Properties
CutAfterPrinting
Gets or sets whether this label is cut after printing. Default is false.
Declaration
public bool CutAfterPrinting { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Darkness
Gets or sets the output printing darkness setting which depends on the target printer type. Read remarks.
Declaration
public double Darkness { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Remarks
- For ZPL printers: The darkness level which must range from -30 to 30, depending on current value of printer settings. NOTE: The darkness level for the XiIIIPlus printer must be 0 to 30 in increments of 0.1.
- For EPL printers: The darkness level must range from 0 to 15.
- For Intermect/Fingerprint printers: The darkness level must range from -10 to 10 in steps of 2.
GapLength
Gets or sets the vertical gap length between labels. The unit of measurement is specified by UnitType property. Default value is 0 (zero)
Declaration
public double GapLength { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Height
Gets or sets the height of the label document.
Declaration
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
IsContinuous
Gets or sets whether this document is on a continuous media roll i.e. labels are not separated by gaps, spaces, notches, slots, or holes. Default is false.
Declaration
public bool IsContinuous { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LabelsHorizontalGapLength
Gets or sets the horizontal gap length between labels when the media roll contains more than one label per row. The unit of measurement is specified by UnitType property. Default value is 0 (zero)
Declaration
public double LabelsHorizontalGapLength { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
LabelsPerRow
Gets or sets the number of labels per row in the media roll. Default value is 1
Declaration
public int LabelsPerRow { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MarkLength
Gets or sets the mark length or thickness between labels. The unit of measurement is specified by UnitType property. Default value is 0 (zero)
Declaration
public double MarkLength { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
NumOfFractionalDigits
Gets or sets the number of fractional digits to use with all floating-point values. Default is 4.
Declaration
public int NumOfFractionalDigits { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
The number of fractional digits is used to round floating-point values like item's X and Y location, Width and Height, etc.
OffsetLength
Gets or sets the offset length or thickness between labels. The unit of measurement is specified by UnitType property. Default value is 0 (zero)
Declaration
public double OffsetLength { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
PrintMirror
Gets or sets whether this label is printed as a mirror image. Default is false.
Declaration
public bool PrintMirror { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PrintSpeed
Gets or sets the media speed during printing. The value setting depends on the printer model and usually is in IPS (Inch Per Seconds). Look for it in the printer user manual.
Declaration
public string PrintSpeed { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UnitType
Gets or sets the Unit of Measurement for the label document.
Declaration
public SDK.Printing.UnitType UnitType { get; set; }
Property Value
Type | Description |
---|---|
SDK.Printing.UnitType |
Width
Gets or sets the width of the label document.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double |