Click or drag to resize

UserZones.Add Method

This method creates a new user zone and adds it to the UserZones collection.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public void Add(
	[OptionalAttribute] ZONETYPE Type,
	[OptionalAttribute] int Index,
	out UserZone UserZone
)

Parameters

Type (Optional)
Type: Kofax.OmniPageCSDK.IproPlus.ZONETYPE
Index (Optional)
Type: System.Int32
UserZone
Type: Kofax.OmniPageCSDK.IproPlus.UserZone
Remarks

It also returns a reference to the created UserZone object. The optional ZONETYPE Type parameter specifies the type of the new zone. Available types are listed in the description of he Type property of the UserZone object. If this parameter is unspecified, it is treated as WT_FLOW.

The Index is an optional numeric parameter specifying the insertion position of the zone being created. If this parameter is unspecified, the new user zone is appended at the end of the collection.

Calling this method sets the Modified property of the Document object to True.

See Also