Error processing SSI file
LEADTOOLS PDF (Leadtools.Pdf assembly)

Show in webframe

PDFDocument Constructor(Stream)






The stream containing an existing PDF file. This cannot be null and must support reading and seeking.
Initializes a new PDFDocument from a specified stream containing a PDF file.
Syntax
public PDFDocument( 
   Stream stream
)
'Declaration
 
Public Function New( _
   ByVal stream As Stream _
)
'Usage
 
Dim stream As Stream
 
Dim instance As New PDFDocument(stream)
public:
PDFDocument( 
   Stream^ stream
)

Parameters

stream
The stream containing an existing PDF file. This cannot be null and must support reading and seeking.
Remarks

The PDFDocument class encapsulates a PDF document on disk or stream and allows pages, objects and images to be read from the document.

stream must be kept alive as long as this PDFDocument object is alive and should not be disposed. The stream can be safely disposed after this PDFDocument is disposed.

stream must contain an existing and valid PDF file. If the PDF file is encrypted, then use the PDFDocument(Stream stream, string password) constructor. Determine whether a PDF is encrypted using the PDFFile.IsEncrypted method.

This method will initialize the members of PDFDocument as follows:

Use PDFDocument Constructor(String) to create a PDF document from a file on disk.

Requirements

Target Platforms

See Also

Reference

PDFDocument Class
PDFDocument Members
Overload List

Error processing SSI file
   Leadtools.Pdf requires a PDF Pro, Pro Suite, Document, or Medical license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features