Click or drag to resize

UserZoneSubRect Method

Calling this method subtracts a rectangle from 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 SubRect(
	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 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.

Subtraction cannot be performed on table zones or vertical text zones.

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

See Also