Click or drag to resize

Image.TransformCoordinates Method

This method transforms a pixel-coordinate of a point in one of the stored image (SrcImage) versions into the pixel-coordinate of another image (DstImage) version.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public IPROPOINT TransformCoordinates(
	IMAGEINDEX SrcImage,
	ref IPROPOINT Point,
	IMAGEINDEX DstImage
)

Parameters

SrcImage
Type: Kofax.OmniPageCSDK.IproPlus.IMAGEINDEX
Point
Type: Kofax.OmniPageCSDK.IproPlus.IPROPOINT
DstImage
Type: Kofax.OmniPageCSDK.IproPlus.IMAGEINDEX

Return Value

Type: IPROPOINT
Remarks

The source pixel-coordinate is specified by the Point parameter. Possible values for IMAGEINDEX are documented in the description of the SaveImage method of the Page object.

The method returns the transformed image coordinate. The Thumbnail image cannot be used in this method; only coordinates of equal size images can be transformed.

See Also