Accusoft.PdfXpressSdk Namespace > Document Class > Document Constructor : Document Constructor(PdfXpress,OpenOptions,IntPtr) |
'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 )
Exception | Description |
---|---|
System.ArgumentNullException | Thrown when a null reference is passed to a method that does not accept it as a valid argument. |
System.ArgumentException | Thrown 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. |