Click or drag to resize

UserZoneAddRect Method

This method adds a new rectangle to the current user zone area.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public void AddRect(
	ref IPRORECT Rect
)

Parameters

Rect
Type: Kofax.OmniPageCSDK.IproPlusIPRORECT
Remarks

The resulting zone shape must be a pizza box-like shape (it can be irregular, but cannot result in a zone with a hole, and a U or top-down U shape). Coordinates in this object refer to the original image.

If the added area results in an invalid shape (incoherent or non-pizza box), a trappable error occurs.

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

Overlapping user zones are not supported. Table zones and vertical text zones must be rectangular.

See Also