Click or drag to resize

UserZonesAdd 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.IproPlusZONETYPE
Index (Optional)
Type: SystemInt32
UserZone
Type: Kofax.OmniPageCSDK.IproPlusUserZone
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