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_count
In This Topic
    IG_PDF_doc_get_layer_count
    In This Topic

    Gets the layer count for the document.

    Declaration:

     
    Copy Code
    AT_ERRCOUNT ACCUAPI IG_PDF_doc_get_layer_count(
            HIG_PDF_DOC hDoc,
            LPUINT lpnCount
    );
    

    Arguments:

    Name Type Description
    hDoc HIG_PDF_DOC Document whose layer count is obtained.
    lpnCount LPUINT Layer count.

    Return Value:

    Error count.

    Supported Raster Image Formats:

    This function does not process image pixels.