ConvertCoordinates Method of the CoordinatesConverter Object
This method converts coordinates of a pixel between different modification states or image planes of the ImageDocument.
Syntax
HRESULT ConvertCoordinates( ImageTypeEnum FromPage, ImageTypeEnum ToPage, int* X, int* Y );
Parameters
- FromPage
- [in] This variable of the ImageTypeEnum type specifies the image page from which the coordinates of pixel are to be converted.
- ToPage
- [in] This variable of the ImageTypeEnum type specifies the image page to which the coordinates of pixel are to be converted.
- X
- [in, out] This variable stores the horizontal coordinate of the pixel relative to the source image page before the method call, and the horizontal coordinate of the pixel relative to the target image page after the method call.
- Y
- [in, out] This variable stores the vertical coordinate of the pixel relative to the source image page before the method call, and the vertical coordinate of the pixel relative to the target image page after the method call.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
Remarks
The coordinates of pixels on the black-and-white image page and the color image page are the same.
See also
03.07.2024 8:50:10