API Reference > OdRx Classes > OdPdf2ImageConverter Class > OdPdf2ImageConverter Methods > OdPdf2ImageConverter::setActivePage Method
OdPdf2ImageConverter::setActivePage Method
Syntax
C++
virtual OdResult setActivePage(OdUInt16 pageNum = 1) = 0;
Parameters 
Description 
OdUInt16 pageNum = 1 
[in] Page number. The first page has number 1.
 

eOk if successful; eNullPtr if no PDF file is loaded; eWrongObjectType if the source file has wrong format; eInvalidIndex if no page with specified index was found in the source PDF file; eNotHandled if PDFium module is not enabled.

Sets the page of the PDF file to work with.

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