Click or drag to resize

UDManagerSaveAs Method

This method saves the active user dictionary under a new name.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public void SaveAs(
	string UDName,
	[OptionalAttribute] Document Document
)

Parameters

UDName
Type: SystemString
Document (Optional)
Type: Kofax.OmniPageCSDK.IproPlusDocument
Remarks

A user dictionary can either be saved to a physical file or can be embedded in a Document object.

In the first case, the UDName parameter is the full qualified path of the dictionary file and the optional Document parameter is ignored.

In the second case, the UDName parameter specifies the stream name of the dictionary which will be embedded in a Document object, specified by the optional Document parameter. If a user dictionary with the specified name already exists, it will be overwritten.

Saving a user dictionary will clear the IsDirty flag and updates the Name property accordingly.

See Also