ImageGear Professional > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_LAYER > IG_PDF_layer_create |
Creates new layer (optional-content group) object in the document.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_PDF_layer_create( HIG_PDF_DOC hDoc, LPSTR lpTextBuf, AT_DWORD nTextLen, LPHIG_PDF_LAYER lphLayer ); |
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. |
Error count.
This function does not process image pixels.