ComplianceElement
public class ComplianceElementOne field of a rendered label as the compliance rules see it: what was drawn (ComplianceElement.Bounds in dots, from the renderer's element trace) and where it came from in the ZPL (ComplianceElement.Offset, ComplianceElement.Line).
Properties
| Property | Type | Description |
|---|---|---|
Arguments { get; } | IReadOnlyList<string> | Arguments of the element command (^BC → orientation, height, …), split at the delimiter. |
Bounds { get; } | ComplianceRect | Area of the element on the label in dots (as traced by the renderer). |
Column { get; } | int | |
Command { get; } | string | Command that drew the element, with prefix: "^BC", "^A0", "^GB", "^FD" (text without ^A) … |
Content { get; } | string | Field data after ^FH, ^FN, ^SN and ^FC processing (for shapes: their parameters). |
FieldCommands { get; } | IReadOnlyList<ZplCommand> | All commands of the field block (^FO … ^FS) with their source offsets. |
InkRects { get; } | IReadOnlyList<ComplianceRect> | Rectangles that actually carry ink: the four sides of an outlined ^GB box, otherwise ComplianceElement.Bounds (used for overlap checks, so a frame around a barcode does not count as overlapping it). |
Kind { get; } | ComplianceElementKind | |
Length { get; } | int | Length of the field's source block up to and including ^FS. |
Line { get; } | int | |
Offset { get; } | int | Character offset of the field's first command in the ZPL (-1 when unknown). |
Orientation { get; } | char | N, R, I or B. |
Reverse { get; } | bool | Printed white on black (^FR / ^LR). |

