vpdf_OpenVectorPDFInMemory

 

vpdf_OpenVectorPDFInMemory(PDFData As Long, dwSize As Integer, szPassword As String, dwFlags As Integer) As Long

 

Description

 

Opens a PDF for reading from the specified memory location.

 

Parameters

 

Long

pPDFData

Pointer to the PDF data in memory.

Integer

dwSize

Size of the PDF in bytes.

String

szPassword

Password for the PDF file if there is any. NULL or an empty string can used if the password is not known.

Integer

dwFlags

Options for opening the file. Currently the only usable value is 0, or BIVPDF_SHOW_PASSWORD_DIALOG (1).

 

 

If BIVPDF_SHOW_PASSWORD_DIALOG is specified and the PDF file is password protected, the BiPDF.dll will show a dialog where the password can be entered by the user.

 

Return value

Returns a handle to the Vector PDF object.