ImageGear for C and C++ on Windows v19.1 - Updated
IG_PDE_element_get_unique_id
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_ELEMENT > IG_PDE_element_get_unique_id

Returns some 32-bit integer that is unique for all Element objects.

Declaration:

 
Copy Code
IG_PDE_element_get_unique_id(
        HIG_PDE_ELEMENT hElement,
        LPLONG lpnId
);

Arguments:

Name Type Description
hElement HIG_PDE_ELEMENT Element object.
lpnId LPLONG The unique identifier.

Return Value:

An unique identifier of this Element Object.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

It is guaranteed that there cannot be two Element objects with the same UniqueIds.

Can be used for Element objects' identification.