pdf_OpenPDFFile

 

PDF_ERROR pdf_OpenPDFFile(HPDF pPDF, LPSTR szPDFFile);

Description

Open the PDF file with the name specified by szFileName.

Parameters

HPDF

pPDF

pointer to the PDF object, created using pdf_Init_PDF()

LPCTSTR

szFileName

The file name to be created.

Return values

Returns a PDF_ERROR if any error occured. Call PDF_GetLastError() for the error code.