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

SetDocumentProperties Method






Name of the destination PDF file to be created. If the value of this parameter is null (Nothing in Visual Basic) then the file name set in FileName will be updated.
Updates the properties of the file associated with this PDFFile object.
Syntax
public void SetDocumentProperties( 
   string destinationFileName
)
'Declaration
 
Public Sub SetDocumentProperties( _
   ByVal destinationFileName As String _
) 
'Usage
 
Dim instance As PDFFile
Dim destinationFileName As String
 
instance.SetDocumentProperties(destinationFileName)
public void SetDocumentProperties( 
   string destinationFileName
)
 function Leadtools.Pdf.PDFFile.SetDocumentProperties( 
   destinationFileName 
)
public:
void SetDocumentProperties( 
   String^ destinationFileName
) 

Parameters

destinationFileName
Name of the destination PDF file to be created. If the value of this parameter is null (Nothing in Visual Basic) then the file name set in FileName will be updated.
Remarks

To use this method, associate this PDFFile object with a valid PDF file and optional password. You can achieve this by either using the PDFFile(string fileName) or PDFFile(string fileName, string password) constructurs or set the file name and optional password directly into the FileName and Password properties. You do not need to call Load before using this method.

This method will use the following properties of this PDFFile object:

The following properties are not used by this method:

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

 

 


Products | Support | Contact Us | Copyright Notices

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