Accusoft.PdfXpress6.Net
Document Constructor(PdfXpress,OpenOptions,Byte[])




A PdfXpress instance to associate with this object.
Configures the open operation.
A local memory buffer containing a PDF Document.
Constructs a Document object from a local memory buffer containing a PDF Document.
Syntax
'Declaration
 
Public Function New( _
   ByVal pdfXpress As PdfXpress, _
   ByVal options As OpenOptions, _
   ByVal buffer() As Byte _
)
'Usage
 
Dim pdfXpress As PdfXpress
Dim options As OpenOptions
Dim buffer() As Byte
 
Dim instance As New Document(pdfXpress, options, buffer)
public Document( 
   PdfXpress pdfXpress,
   OpenOptions options,
   byte[] buffer
)
public: Document( 
   PdfXpress* pdfXpress,
   OpenOptions* options,
   byte[]* buffer
)
public:
Document( 
   PdfXpress^ pdfXpress,
   OpenOptions^ options,
   array<byte>^ buffer
)

Parameters

pdfXpress
A PdfXpress instance to associate with this object.
options
Configures the open operation.
buffer
A local 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.
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.
See Also

Reference

Document Class
Document Members
Overload List
Licensing Property
Initialize Method
Initialize(String,String) Method

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback