ImageGear for C and C++ on Windows v19.0
IG_ARTX_page_marks_rotate

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:

Name Type Description
hArtPage HIG_ARTX_PAGE ArtX page handle.
nRotateValue enumRotateValue Specifies rotation angle.
lprcImageRect LPAT_RECTANGLE Specifies bounding rectangle to rotate annotations specified in image coordinate system. Typically it can be image rectangle.
lprcDeviceRect LPAT_RECTANGLE 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.

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback