LEADTOOLS PDF (Leadtools.Pdf assembly)

PDFDocument Constructor(String)

Show in webframe





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
)

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:

Example

For an example, refer to PDFDocument.

Requirements

Target Platforms

See Also

Reference

PDFDocument Class
PDFDocument Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.