Accusoft.PdfXpress7.Net
Document Constructor(PdfXpress,OpenOptions,IntPtr)




A PdfXpress instance to associate with this object.
Configures the open operation.
A handle to a global memory buffer containing a PDF Document.
Constructs a Document object from a global memory buffer containing a PDF Document.
Syntax
'Declaration
 
Public Function New( _
   ByVal pdfXpress As PdfXpress, _
   ByVal options As OpenOptions, _
   ByVal globalHandle As IntPtr _
)
'Usage
 
Dim pdfXpress As PdfXpress
Dim options As OpenOptions
Dim globalHandle As IntPtr
 
Dim instance As New Document(pdfXpress, options, globalHandle)
public Document( 
   PdfXpress pdfXpress,
   OpenOptions options,
   IntPtr globalHandle
)
public: Document( 
   PdfXpress* pdfXpress,
   OpenOptions* options,
   IntPtr globalHandle
)
public:
Document( 
   PdfXpress^ pdfXpress,
   OpenOptions^ options,
   IntPtr globalHandle
)

Parameters

pdfXpress
A PdfXpress instance to associate with this object.
options
Configures the open operation.
globalHandle
A handle to a global memory buffer containing a PDF Document.
Exceptions
ExceptionDescription
System.ArgumentNullException Thrown when a null reference is passed to a method that does not accept it as a valid argument.
System.ArgumentExceptionThrown if globalHandle is not a valid global memory buffer handle.
InvalidPasswordException Thrown when trying to open a document with the wrong password or no password.
DamagedFileException Thrown when a file is corrupt and needs to be repaired.
FileRepairFailedException Thrown when a file is corrupt and can not be repaired.
PdfXpressLibraryException Thrown in the underlying PDF library.
PdfXpressNotIntializedException Thrown if invoked before PDF Xpress is initialized.
PdfXpressLicensingException Thrown if this feature is unavailable for the current license edition.
PdfXpressException Thrown in the main PDF library.
Remarks
The caller is responsible for releasing the global memory buffer using the Windows function GlobalFree( globalHandle ).
See Also

Reference

Document Class
Document Members
Overload List

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback