Accusoft.PdfXpress5.Net
Document Constructor(PdfXpress,OpenOptions,IntPtr)
See Also  Send Feedback
Accusoft.PdfXpressSdk Namespace > Document Class > Document Constructor : Document Constructor(PdfXpress,OpenOptions,IntPtr)




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.

Glossary Item Box

Constructs a Document object from a global memory buffer containing a PDF Document.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

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

©2012. Accusoft Corporation. All Rights Reserved.