API Reference > OdRx Classes > OdPdf2ImageConverter Class > OdPdf2ImageConverter Methods > loadPdf Method > OdPdf2ImageConverter::loadPdf Method (OdStreamBufPtr &, OdString &)
OdPdf2ImageConverter::loadPdf Method (OdStreamBufPtr &, OdString &)
Syntax
C++
virtual OdResult loadPdf(OdStreamBufPtr & pBuf, const OdString & password = "") = 0;
Parameters 
Description 
OdStreamBufPtr & pBuf 
[in] Pointer to the StreamBuf object the data are to be read from.  
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.