Click or drag to resize

ZebraCardTemplateGenerateTemplateDataJob Method

Returns an instance of the TemplateJob object containing the job specific data.

Namespace:  Zebra.Sdk.Card.Job.Template
Assembly:  SdkApi_Card_Desktop (in SdkApi_Card_Desktop.dll) Version: 2.14.1989
Syntax
public TemplateJob GenerateTemplateDataJob(
	string templateData,
	Dictionary<string, string> fieldDataMap
)

Parameters

templateData
Type: SystemString
The XML formatted template data.
fieldDataMap
Type: System.Collections.GenericDictionaryString, String
A Dictionary object containing the template field names as the keys and the template field values for the key values.

Return Value

Type: TemplateJob
A TemplateJob object containing the required job specific data.

Implements

ZebraTemplateGenerateTemplateDataJob(String, DictionaryString, String)
Exceptions
ExceptionCondition
ConnectionExceptionIf the device is busy or an error occurs communicating with the printer.
FileNotFoundExceptionIf the specified template or referenced image file/s are not found.
ZebraIllegalArgumentExceptionIf the specified template data or field data is invalid.
ZebraCardExceptionIf there is an error generating the template job.
See Also