Click or drag to resize

UDSectionsAdd Method

This method adds a new section to the active user dictionary.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public void Add(
	string NewSection,
	out UDSection Section
)

Parameters

NewSection
Type: SystemString
Section
Type: Kofax.OmniPageCSDK.IproPlusUDSection
Remarks

The NewSection parameter specifies the name of the section to be added. The maximum section length supported equals the MAXSECTNAMELEN constant. If a section with the specified name already exists, a trappable error occurs. Section names are case sensitive.

This method returns a reference to the newly created UDSection object that will be appended at the end of the collection. You can create an unlimited number of sections in a user dictionary, but managing a large number of sections will require more system resources. UD sections can be applied at zone or document level.

See Also