Click or drag to resize

UserZonesSaveTemplate Method

This method saves the current user zone-list to a zone-file or a zone template.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public void SaveTemplate(
	string FileName,
	[OptionalAttribute] bool ToFile
)

Parameters

FileName
Type: SystemString
ToFile (Optional)
Type: SystemBoolean
Remarks

ToFile is an optional Boolean parameter. If it is True the FileName parameter specifies a physical zone-file path. Otherwise the zone template is stored embedded in the document. If a zone file or a zone template with the specified name already exists, it is overwritten. If there are no user zones on the page, this method does nothing. The "TemplateInfo" and "UDInfo" names are reserved for internal use.

If the zones are saved to the document, this method sets the Modified property of the Document object to True.

See Also