Field
|
The FieldDescriptionData type exposes the following members.
| Name | Description | |
|---|---|---|
| FieldDescriptionData | Create a descriptor for a field |
| Name | Description | |
|---|---|---|
| FieldName |
In CPCL, this field is always null. In ZPL, this field will correspond to the optional name parameter of the ^FN command, or null if the parameter is not present | |
| FieldNumber |
In CPCL, this number will be the number of the variable field in the format. The fields are numbered starting at 1. In ZPL, this number will correspond to the ^FN number. |
| Name | Description | |
|---|---|---|
| CompareTo | ||
| Equals | (Inherited from Object) | |
| GetHashCode | (Inherited from Object) | |
| GetType | (Inherited from Object) | |
| ToString | (Inherited from Object) |
! DF SHELF.FMT
! 0 200 200 210 1
CENTER
TEXT 4 3 0 15 \\
TEXT 4 0 0 95 \\
FORM
PRINT
The first FieldDescriptionData will contain a fieldNumber of 1, and a fieldName of
null. The second FieldDescriptionData will contain a fieldNumber of 2, and a fieldName of null.
^XA
^DFR:SHELF.ZPL^FS
^FO25,25^A0N,50,50^FN15"Name"^FS
^FO25,75^A0N,50,50^FN15"Address"^FS
^FO25,125^A0N,50,50^FN18^FS
^FO25,175^A0N,50,50^FN15
^XZ
The first FieldDescriptionData will contain a fieldNumber of 15, and a fieldName of
"Address". The second FieldDescriptionData will contain a fieldNumber of 18, and a fieldName of null.