ImageGear Professional DLL v17.1 for Windows Accusoft
IG_PDF_doc_create
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_DOC > IG_PDF_doc_create

Glossary Item Box

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

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_doc_create(
        HMIGEAR hMPIDoc);

Arguments:

hMPIDoc 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) );
©2012. Accusoft Corporation. All Rights Reserved.