ImageGear Professional DLL v18.1 for Windows
IG_PDF_doc_create
Send Feedback
ImageGear Professional v18.1 > 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.

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