FormatUtilGetVariableFields Method
|
Returns a list of descriptors of the variable fields in this format.
Namespace:
Zebra.Sdk.Printer
Assembly:
SdkApi_Core (in SdkApi_Core.dll) Version: 2.13.898
Syntax FieldDescriptionData[] GetVariableFields(
string formatString
)
Function GetVariableFields (
formatString As String
) As FieldDescriptionData()
array<FieldDescriptionData^>^ GetVariableFields(
String^ formatString
)
Parameters
- formatString
- Type: SystemString
The contents of the recalled format.
Return Value
Type:
FieldDescriptionDataA list of field data descriptors. For a CPCL printer, the nth element of the list will contain the
integer n and no name. For a LinkOS/ZPL printer, each element will contain an ^FN number and a variable name if
present. If the format contains multiple ^FNs with the same number, only the last one will be in the result.
See
FieldDescriptionData for an example of how variable fields look.
Remarks
On a LinkOS/ZPL printer, only ZPL formats are supported. On a CPCL printer, only CPCL formats are supported.
See Also