←Select platform

SetDocumentProperties Method

Summary

Updates the properties of the file associated with this PDFFile object.

Syntax

C#
VB
C++
public void SetDocumentProperties( 
   string destinationFileName 
) 
Public Sub SetDocumentProperties( _ 
   ByVal destinationFileName As String _ 
)  
public: 
void SetDocumentProperties(  
   String^ destinationFileName 
)  

Parameters

destinationFileName
Name of the destination PDF file to be created. If the value of this parameter is nullthen the filename set in FileName will be updated.

Remarks

To use this method, associate the PDFFile object with a valid PDF file and optional password. Do this by either using the PDFFile(string fileName) or PDFFile(string fileName, string password) constructors or setting the filename and optional password directly by calling the FileName and Password properties. It is not necessary to call Load before using this method.

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

  • DocumentProperties. If the value of this property is null, then default properties will be used.

The following properties are not used by this method:

Example

For an example, refer to PDFFile.

Requirements

Target Platforms

See Also

Reference

PDFFile Class

PDFFile Members

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

Leadtools.Pdf Assembly