ImageGear for C and C++ on Windows v19.6 - Updated
IG_PDF_layer_set_name
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_LAYER > IG_PDF_layer_set_name

This function sets the new layer name.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_layer_set_name(
        HIG_PDF_LAYER hLayer,
        LPSTR lpTextBuf,
        UINT nTextLen
);

Arguments:

Name Type Description
hLayer HIG_PDF_LAYER Layer whose name is set.
lpTextBuf LPSTR Pointer to a string buffer.
nBufSize UINT Length of the string buffer.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.