ImageGear Professional DLL v18.1 for Windows
IG_PDF_layer_create
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_LAYER > IG_PDF_layer_create

Glossary Item Box

Creates new layer (optional-content group) object in the document.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_layer_create(
        HIG_PDF_DOC hDoc,
        LPSTR lpTextBuf, 
        AT_DWORD nTextLen,
        LPHIG_PDF_LAYER lphLayer
);

Arguments:

Name Type Description
hDoc HIG_PDF_DOC The document in which the group is used.
lpTextBuf LPSTR The name of the layer.
nTextLen AT_DWORD Length of the lpTextBuf.
lphLayer LPHIG_PDF_LAYER A pointer to memory that is overwritten with the value of the newly created group object handle.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

©2014. Accusoft Corporation. All Rights Reserved.