12.07.2015 Views

PDF Library Supplement to the Core API Reference - Datalogics

PDF Library Supplement to the Core API Reference - Datalogics

PDF Library Supplement to the Core API Reference - Datalogics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PDF</strong> <strong>Library</strong>-specific Callbacks<strong>PDF</strong>LPrintCancelProc<strong>PDF</strong>LPrintCancelProcACCB1 ASBool ACCB2 <strong>PDF</strong>LPrintCancelProc (PDDoc pdDoc,void* clientData);DescriptionThis is called once per page of a document being printed.In addition <strong>to</strong> giving <strong>the</strong> ability <strong>to</strong> cancel <strong>the</strong> print job, a developer can use this callback <strong>to</strong>return control briefly <strong>to</strong> an application <strong>to</strong> handle events, update UI elements, and so on.The library pauses printing until <strong>the</strong> return from this procedure, because it is singlethreaded.ParameterspdDocclientDataThe document being printed.A pointer <strong>to</strong> <strong>the</strong> client data that was passed in <strong>the</strong><strong>PDF</strong>LPrintUserParamsRec with <strong>the</strong> call <strong>to</strong> <strong>PDF</strong>LPrintDoc.Return Valuetrue <strong>to</strong> cancel <strong>the</strong> print job, false o<strong>the</strong>rwise.Header File<strong>PDF</strong>LExpT.hRelated CallbacksASCancelProcCancelProcRelated Data<strong>PDF</strong>LPrintUserParamsRecRelated MethodsNone<strong>PDF</strong> <strong>Library</strong> <strong>Supplement</strong> <strong>to</strong> <strong>the</strong> Acrobat <strong>Core</strong> <strong>API</strong> <strong>Reference</strong> 85

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!