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

PDFFile Constructor(String)






The name of the file associated with this PDFFile.
Initializes a new PDFFile object and associates it with the name of a PDF file.
Syntax
public PDFFile( 
   string fileName
)
'Declaration
 
Public Function New( _
   ByVal fileName As String _
)
'Usage
 
Dim fileName As String
 
Dim instance As New PDFFile(fileName)
public PDFFile( 
   string fileName
)
function PDFFile( 
   fileName 
)
public:
PDFFile( 
   String^ fileName
)

Parameters

fileName
The name of the file associated with this PDFFile.
Remarks

This constructor will initialize the properties of the PDFFile object as follows:

After the file name and optional password are set , call the Load method to populate the DocumentProperties and Pages properties of this PDFFile object with the values read from the file.

In certain situation, you may want to associate a PDFFile with a Postscript and not a PDF file. For example, to create a PDFFile object and call its Distill method to convert the Postscript file to PDF.

Example

For an example, refer to PDFFile.

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

PDFFile Class
PDFFile Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

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