ImageGear for C and C++ on Linux v18.10 - Updated
IG_PDF_layer_get_name
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_LAYER > IG_PDF_layer_get_name

This function gets the layer name.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_layer_get_name(
        HIG_PDF_LAYER hLayer,
        LPSTR lpTextBuf,
        UINT nBufSize,
        LPUINT lpnTextLen
);

Arguments:

Name Type Description
hLayer HIG_PDF_LAYER Layer whose name is obtained.
lpTextBuf LPSTR Pointer to a buffer for text string.
nBufSize UINT Maximum size of the buffer.
lpnTextLen LPUINT Actual length of the name string copied into the buffer.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.