ImageGear for C and C++ on Linux v20.0 - Updated
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_LAYER > IG_PDF_layer_get_unique_id

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


Copy Code
        HIG_PDF_LAYER hLayer,
        LPUINT lpnUniqueId


Name Type Description
hLayer HIG_PDF_LAYER Layer object.
lpnUniqueId LPUINT The unique identifier.

Return Value:

A unique identifier of this Layer Object.

Supported Raster Image Formats:

This function does not process image pixels.


It is guaranteed that there cannot be two Layer objects with the same UniqueIds. This can be used for Layer objects' identification.

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