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

Show in webframe

PDFDocument Constructor(String)






The name of an existing PDF file.
Initializes a new PDFDocument form a specified PDF file.
Syntax
public PDFDocument( 
   string fileName
)
'Declaration
 
Public Function New( _
   ByVal fileName As String _
)
'Usage
 
Dim fileName As String
 
Dim instance As New PDFDocument(fileName)
public PDFDocument(String fileName)
public:
PDFDocument( 
   String^ fileName
)

Parameters

fileName
The name of an existing PDF file.
Remarks

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

fileName must contain the name of an existing and valid PDF file on disk. If the PDF file is encrypted, then use the PDFDocument(string fileName, string password) constructor. You can check whether a PDF is encrypted using the PDFFile.IsEncrypted method.

This method will initialize the members of PDFDocument as follows:

Use PDFDocument Constructor(Stream)To create a PDF document from a .NET stream.

Example

For an example, refer to PDFDocument.

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