ImageGear for C and C++ on Windows v19.6 - Updated
IG_ARTX_page_marks_rotate
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_PAGE > 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.