←Select platform

PDFFile Constructor(string)

Summary

Initializes a new PDFFile object and associates it with the name of a PDF file.

Syntax

C#
VB
C++
public PDFFile( 
   string fileName 
) 
Public Function New( _ 
   ByVal fileName As String _ 
) 
public: 
PDFFile(  
   String^ fileName 
) 

Parameters

fileName
The name of the file to be associated with this PDFFile.

Remarks

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

After the filename 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

Help Version 20.0.2018.1.18
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly