| ImageGear Professional v18.1 > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_DOC > IG_PDF_doc_print |
Prints PDF pages from a PDF document, allowing the user to specify options such as page size, rotation, and fit mode.
|
Copy Code
|
|
|---|---|
AT_ERRCOUNT ACCUAPI IG_PDF_doc_print(
HIG_PDF_DOC hDoc,
LPAT_PDF_PRINTOPTIONS lpPrintOptions
);
|
|
| Name | Type | Description |
| hDoc | HIG_PDF_DOC | Handle to the document to print. |
| lpPrintOptions | LPAT_PDF_PRINTOPTIONS | Parameters to control printing. |
Error count.
This function does not process image pixels.
Please refer to the MFC PDF sample for a complete code example of using the IG_PDF_doc_print function.