The GetDeskewLimits transaction returns the maximum angle by which the specified layer can be deskewed. Deskewing straightens crooked raster images.
Type XTYP_REQUEST
Syntax [GetDeskewLimits(docwinID, layerID, <pageID>)]
|
Parameter |
Data type |
Values |
Meaning |
|
docwinID |
DWORD |
0 | docwinID |
active | specific |
|
layerID |
DWORD |
0 |
placeholder. The deskew limit for the active raster layer is returned. |
|
pageID |
DWORD |
0 | pageID |
current | specific. Optional parameter. |
|
Reply |
Data type |
Values |
Meaning |
|
maxAngle |
float |
-10.0 to 10.0 |
Maximum value of angle |
Remarks
The larger the drawing, the lower the deskew angle boundaries. For example, an A-size image may have a deskew angle boundary of +/-10.00, while an E-size drawing may have a boundary of +/-5.00.
Release information
Added in Release 3.60.
See also