Gets the layers of the active page in the PDF file.
Parameters
Parameters
Description
layers
[out] Layers array.
Returns
eOk if successful; eNullPtr if no PDF file is loaded; eWrongObjectType if the source file has wrong format; eInvalidIndex if the active page index is invalid; eNullIterator if the page iterator is not set; eExtendedError if layers can't be got from the active page; eNotHandled if PDFium module is not enabled.