zplCore.comzplCore.com
record12 members

ZplRenderedElement

public record ZplRenderedElement

Information about one rendered field (for hit-testing, editors, tests).

Constructors

SignatureDescription
# ZplRenderedElement(string Command, string Content, int X, int Y, int Width, int Height, char Orientation, bool Reverse)Information about one rendered field (for hit-testing, editors, tests).

Properties

PropertyTypeDescription
Command { get; init; }string
Content { get; init; }string
Height { get; init; }int
Orientation { get; init; }char
Reverse { get; init; }bool
SourceLength { get; init; }intLength of the field's source block up to and including ^FS (0 when unknown).
SourceOffset { get; init; }intCharacter offset of the field's first command (usually ^FO/^FT) in the ZPL source, -1 when unknown. Together with ZplRenderedElement.SourceLength it maps the element back to its ^FO…^FS block (for fields recalled with ^XF it refers to the source that defined the stored format).
Width { get; init; }int
X { get; init; }int
Y { get; init; }int

Methods

Method SignatureReturnsDescription
# Deconstruct(out string Command, out string Content, out int X, out int Y, out int Width, out int Height, out char Orientation, out bool Reverse)void