Click or drag to resize

ImageViewUpdateCtrlRect Method

Use this method to invalidate and update a partial rectangle of the ImageView.

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

Parameters

Rect
Type: Kofax.OmniPageCSDK.ToolBoxesIPRORECT
Remarks

Calling the UpdateCtrlRect method will force the view to refresh the specified image area. The coordinates passed in the Rect parameter are Window coordinates. If you need to transform these coordinates to any other ImageView coordinate system, use one or more ImageView coordinate mapping functions.

To learn more about the IVC coordinate systems and the usage of this method, refer to the Image Coordinates, Available Coordinate Mapping Methods and Typical Use-Cases for Coordinate Transformations chapters under Coordinate Systems in the documentation.

The IPRORECT structure definition is as follows:

{

top As Long

left As Long

width As Long

height As Long

}

See Also