LEADTOOLS PDF (Leadtools.Pdf assembly)
LEAD Technologies, Inc

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
)
function 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFDocument Class
PDFDocument Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.