Click or drag to resize

UDItemsAdd Method

This method adds a new item to the collection.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public void Add(
	string Item,
	ITEMATTRIBUTE Flag,
	out UDItem UDItem
)

Parameters

Item
Type: SystemString
Flag
Type: Kofax.OmniPageCSDK.IproPlusITEMATTRIBUTE
UDItem
Type: Kofax.OmniPageCSDK.IproPlusUDItem
Remarks
The Flag parameter defines whether the new UDItem is a literal string or a regular expression. If the new item is a literal, it is inserted into the existing list in alphabetical order. If the new item is a regular expression, it is appended to the end of the current collection. The number of UDItem objects in not limited, but the length of inserted literals is limited to (MAXUDITEMLEN - 1), currently 63 characters. This method returns a reference to the added user dictionary item.
See Also