ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / PDF Component API Reference / PDF Component Objects Reference / General Objects / HIG_PDF_DOC / IG_PDF_doc_get_layer
In This Topic
    IG_PDF_doc_get_layer
    In This Topic

    Gets the layer with a specified index.

    Declaration:

     
    Copy Code
    AT_ERRCOUNT ACCUAPI IG_PDF_doc_get_layer(
            HIG_PDF_DOC hDoc,
            UINT nIndex,
            LPHIG_PDF_LAYER lphLayer
    );
    

    Arguments:

    Name Type Description
    hDoc HIG_PDF_DOC Document whose layer is obtained.
    nIndex UINT Index of the layer to obtain.
    lphLayer LPHIG_PDF_LAYER The obtained layer.

    Return Value:

    Error count.

    Supported Raster Image Formats:

    This function does not process image pixels.