ImageGear for C and C++ on Windows v19.10 - Updated
IG_PDF_layer_get_unique_id
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.

Declaration:

 
Copy Code
IG_PDF_layer_get_unique_id(
        HIG_PDF_LAYER hLayer,
        LPUINT lpnUniqueId
);

Arguments:

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.

Remarks:

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