public record ZplRenderedElement
Information about one rendered field (for hit-testing, editors, tests).
Constructors
| Signature | Description |
# 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
| Property | Type | Description |
Command { get; init; } | string | |
Content { get; init; } | string | |
Height { get; init; } | int | |
Orientation { get; init; } | char | |
Reverse { get; init; } | bool | |
SourceLength { get; init; } | int | Length of the field's source block up to and including ^FS (0 when unknown). |
SourceOffset { get; init; } | int | Character 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 Signature | Returns | Description |
# 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 | |