ImageGear for C and C++ on Windows v19.0
IG_PDF_doc_create

This function creates a PDF document and attaches it to HMIGEAR.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_doc_create(
        HMIGEAR hMPIDoc
);

Arguments:

Name Type Description
hMPIDoc HMIGEAR ImageGear document to which to attach a PDF document.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

This function does not do anything if hMPIDoc is already vector document.

To obtain a handle to the PDF document, use the following:

 
Copy Code
 HIG_PDF_DOC hPDFDoc = (HIG_PDF_DOC)NULL;
        IG_mpi_info_get( hMPIDoc, IG_MP_DOCUMENT, &hPDFDoc, sizeof(hPDFDoc) );

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback