public record ZplFieldInfo
A variable ^FN field found by ZplFields.Find.
Constructors
| Signature | Description |
# ZplFieldInfo(int Number, string Prompt, string Value, string Format, int Offset, int Count) | A variable ^FN field found by ZplFields.Find. Number: Field number (^FN1 → 1). · Prompt: Prompt text of the first ^FN with one (^FN1"Name" → "Name"), or null. · Value: Data that prints without an override: the ^XF data block value, else the ^FD default of the field (null when none). · Format: Name of the stored format (^DF) the field belongs to, or null for fields of an ordinary label. · Offset: Source offset of the first ^FN command with this number. · Count: Number of fields with this number (stored formats and labels, ^XF data blocks not counted). |
Properties
| Property | Type | Description |
Count { get; init; } | int | Number of fields with this number (stored formats and labels, ^XF data blocks not counted). |
Format { get; init; } | string | Name of the stored format (^DF) the field belongs to, or null for fields of an ordinary label. |
Number { get; init; } | int | Field number (^FN1 → 1). |
Offset { get; init; } | int | Source offset of the first ^FN command with this number. |
Prompt { get; init; } | string | Prompt text of the first ^FN with one (^FN1"Name" → "Name"), or null. |
Value { get; init; } | string | Data that prints without an override: the ^XF data block value, else the ^FD default of the field (null when none). |
Methods
| Method Signature | Returns | Description |
# Deconstruct(out int Number, out string Prompt, out string Value, out string Format, out int Offset, out int Count) | void | |