ImageGear for C and C++ on Linux v20.0 - Updated
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_ELEMENT > IG_PDE_element_get_matrix

Gets the transformation matrix for an element.


Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_element_get_matrix(
        HIG_PDE_ELEMENT hElement,


Name Type Description
hElement HIG_PDE_ELEMENT An element whose transformation matrix is obtained.
lpMatrix LPAT_PDF_FIXEDMATRIX Pointer to AT_PDF_FIXEDMATRIX that holds a transformation matrix for hElement. If hElement is a text object, returns the identity matrix.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.


This matrix provides the transformation from user space to device space for the element. If there is no cm operator (concatmatrix) in the page stream, the matrix is the identity matrix.

Is this page helpful?
Yes No
Thanks for your feedback.