API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_DOC > IG_PDF_doc_create |
This function creates a PDF document and attaches it to HMIGEAR.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_PDF_doc_create( HMIGEAR hMPIDoc ); |
Name | Type | Description |
---|---|---|
hMPIDoc | HMIGEAR | ImageGear document to which to attach a PDF document. |
Error count.
This function does not process image pixels.
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) );
|