Components for Developers
© 2000-2012, Two Pilots

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF-X Pilot History In the Lab

PDF Creator Pilot documentation

Download CHM version of this manual.
PM_DOCUMENT_OpenFromBufferAuth

Collapse All

Creates a new PDF document initialized with the data from a specified buffer with PDF data with an authorization function.

Syntax

PM_DOCUMENT PM_DOCUMENT_OpenFromBufferAuth (
PM_BYTES buffer,
PM_UINT bufSize,
PM_AUTH_PROC authProc,
void* lpData
)
Parameters
buffer
Pointer to a buffer containing the PDF document.

bufSize
Number of bytes in the PDF document.

authProc
An authorization function, called only if the file has been secured (meaning that the file has either the user or the owner password set).

lpData
Pointer to optional data.

Return value
Handle to the opened document. If failed, NULL is returned.

Remarks

See PM_AUTH_PROC function for more details.

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF-X Pilot History In the Lab

 

 

PDF Library | Virtual Printer | Converters to PDF

Support | Blog | Forum | Contacts

© 2000-2012, Two Pilots