TransformCoordinates

This method transforms the coordinates of the worktext objects like zones, lines, and characters.

Note: Undoing the coordinate transformation can be performed in a second call of TransformCoordinates using –Dx, -Dy, -RotAngle as parameters if Dx, Dy, RotAngle were the first call of TransformCoordinates parameters.

Syntax

TransformCoordinates (ImgNr as Long, Dx as Long, Dy as Long, RotAngle as Double)
Parameter Description
ImgNr Index of the image.
Dx Specifies the translation in horizontal direction.
Dy Specifies the translation in vertical direction.
RotAngle Specifies the rotation angle. The center point is the top left corner of the document.