pdf_FinishPDF

 

PDF_ERROR pdf_FinishPDF(HPDF pPDF);

Description

Finish the PDF file. Writes the ROOT object, the CATALOG object, creates the Cross Reference Table (XREF) and finally closes the PDF file itself..

Parameters

HPDF

pPDF

pointer to the PDF object

Return values

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