This function rotates all marks on the page according with value of nRotateValue parameter.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT IG_ARTX_page_marks_rotate( HIG_ARTX_PAGE hArtPage, enumRotateValue nRotateValue, LPAT_RECTANGLE lprcImageRect, LPAT_RECTANGLE lprcDeviceRect ); |
Arguments:
hArtPage | ArtX page handle. |
nRotateValue | Specifies rotation angle. |
lprcImageRect | Specifies bounding rectangle to rotate annotations specified in image coordinate system. Typically it can be image rectangle. |
lprcDeviceRect | Specifies bounding rectangle to rotate annotations specified in device coordinate system. Typically it can be windows client rectangle. |
Return Value:
Error count.
Supported Raster Image Formats:
This function does not process image pixels.
Remarks:
In contrast with the IG_ARTX_page_display_rotate() method, this function updates annotation coordinates. For text annotations (IG_ARTX_MARK_TEXT and similar), button and image (IG_ARTX_MARK_IMAGE and similar) it also updates mark orientation property.