API Reference > OdRx Classes > OdPdf2ImageConverter Class > OdPdf2ImageConverter Methods > loadPdf Method > OdPdf2ImageConverter::loadPdf Method (OdString &, OdString &)
OdPdf2ImageConverter::loadPdf Method (OdString &, OdString &)
Syntax
C++
virtual OdResult loadPdf(const OdString & filename, const OdString & password = "") = 0;
Parameters 
Description 
const OdString & filename 
[in] Filename of the file to be read.  
const OdString & password = "" 
[in] Optional password.
 

eOk if successful, eCantOpenFile or eNotHandled otherwise.

Loads the specified PDF file.

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