zplCore.comzplCore.com
59 types

ZplCore.Labels

Declarative label object model (mm/inch/dots), expressions, tables, repeaters, multi-page duplex labels, bulk data binding (For<T>), print jobs, and ZPL import.

TypeKindSummary
BarcodeItemclass
BarcodeItemOptionsrecordBarcode generator render and symbology options of a BarcodeItem (serialized with the label JSON). Null = generator default. Any…
BarcodeItemReadabilityrecordReadability of one artistic barcode of a label (Label.CheckReadability).
CheckDigitsclassCheck digit helpers used by the expression engine (Mod10, Luhn, Mod11, Mod43, VoicePickCode).
CircleItemclass
Code128ModeenumCode 128 mode of a native Symbology.Code128 item (^BC m parameter).
CornerRadiusclassPer-corner radius of a rectangle (label units).
DitherMethodenumConversion of grey levels to black/white.
DpiSourceenumWhere the import resolution came from.
EllipseItemclass
ExpressionEngineclassSmall expression language for label items, e.g. Upper([Name]) + " / " + Format(Now(), "dd.MM.yyyy") or If([…
FontUnitenumUnit of a font size (TextItem.FontSize).
FrameThicknessclassPer-side frame line thickness of a text box (label units; 0 = no line on that side).
ITextMeasurerinterface
ImageAspectRatioenumHow an image keeps its aspect ratio when sized.
ImageFlipenum
ImageItemclassImage converted to a 1-bit ^GFA graphic (Z64 compressed) or stored on the printer (~DG + ^XG).
ImportFallbackenumWhat Label.FromZpl does with a field the label model cannot express exactly.
ImportOptionsclassOptions of Label.FromZpl.
ImportedLabelclassOne imported format.
ItemColorenumMonochrome colour of fills, backgrounds and text.
ItemPaddingclassSpacing inside an item's box (label units).
ItemRotationenum
LabelclassLabel designer object model: describe a label with items in physical units, then generate ZPL (Label.ToZpl), render a preview t…
LabelBinding<T>classStrongly typed, streaming mass data binding of a Label to C# objects. Works with anything enumerable: lists, LINQ queries, EF C…
LabelContourenumOutline of the label stock (Label.Contour).
LabelImportResultclassResult of Label.FromZpl.
LabelImportWarningrecordA message of Label.FromZpl with its source position.
LabelImportWarningKindenumKind of an import message.
LabelItemclassBase class for all label items. Positions are in the label's unit (or LabelItem.Unit).
LabelPageclassOne page of a multi-page (e.g. duplex front/back) label.
LabelProgressstructOne printed label of a binding job (see LabelBinding.OnProgress).
LabelSchemaclassMigrations of the label JSON template between schema versions. Version 1 = templates without "schemaVersion"; version…
LabelSheetclassSheet of labels (e.g. A4 office label sheets or wide multi-across media). Each label is rendered through the ZPL renderer and p…
LabelSheetOrderenum
LabelUnitenum
LineItemclass
MaskCounterclassMask counters such as "AA-0000" or "####-??": #/0 digit, A letter A–Z, a letter a–z, ? alphanumeric 0–9A–Z,…
PrintJobInforecordData of a print job for leading/trailing labels (bind fields like "JobName", "RecordCount", "FirstKey&…
PrintJobTemplateclassA complete print job as JSON template: optional leading label, the record label and an optional trailing label, plus job option…
PropertyPathclassFast, cached access to (nested) members by name: "Name", "Customer.Address.City", "Items[0].Name"…
RawZplItemclassRaw ZPL inserted as-is (escape hatch for commands not covered by items).
RectangleItemclass
RepeaterItemclassRepeats its child items for every element of a collection field (e.g. order lines), shifting each repetition by RepeaterItem.Of…
RfidItemclassRFID tag write (^RF). Not printed; encodes RfidItem.Data into the tag.
RfidLockValueenumLock action for a password or memory bank.
RfidMemoryBankenumGen2 memory bank (^RF m / ^RZ m).
RfidTagTypeenumRFID tag type (^RS tag type parameter).
RtfConverterclassRTF to the HTML subset of TextMarkup.Html, e.g. text written with a WinForms/WPF RichTextBox or WordPad: item.Text = RtfConvert…
StrokeStyleenum
SymbologyenumLabel symbologies: every symbology of Barcode. Those with a ZPL barcode command are emitted natively, the others are rendered b…
TableItemclassTable with fixed columns/rows; cells may contain [Field] placeholders.
TextAlignmentenum
TextItemclass
TextMarkupenumHow TextItem.Text (or the bound value) is read.
TextSizingenumHow a TextItem adapts its text to the box.
TextVerticalAlignmentenum
UnitConverterclassConversions between label units and dots.
ZplContextclass