API Reference > OdRx Classes > OdPdf2ImageConverter Class > OdPdf2ImageConverter Methods > OdPdf2ImageConverter::getLayers Method
OdPdf2ImageConverter::getLayers Method
Syntax
C++
virtual OdResult getLayers(OdPdfLayerArray& layers) = 0;
Parameters 
Description 
OdPdfLayerArray& layers 
[out] Layers array.
 

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.

Gets the layers of the active page in the PDF file.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.