Returns a list of descriptors of the variable fields in this format.

Namespace:  ZSDK_API.Printer
Assembly:  ZSDK_API (in ZSDK_API.dll) Version: 1.1.123.0

Syntax

C#
FieldDescriptionData[] GetVariableFields(
	string formatString
)
Visual Basic (Declaration)
Function GetVariableFields ( _
	formatString As String _
) As FieldDescriptionData()

Parameters

formatString
Type: System..::.String
The contents of the recalled format.

Return Value

A list of field data descriptors. In CPCL the nth element of the list will contain the integer n and no name. In ZPL, 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.

Exceptions

ExceptionCondition
ZSDK_API.ApiException..::.MalformedFormatExceptionIf the format is malformed.

See Also