Updates the properties of the file associated with this PDFFile object.
public void SetDocumentProperties(
string destinationFileName
)
Public Sub SetDocumentProperties( _
ByVal destinationFileName As String _
)
public:
void SetDocumentProperties(
String^ destinationFileName
)
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.
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:
The following properties are not used by this method:
SecurityOptions. To encrypt a PDF file, use the Convert method.
CompatibilityLevel. The version of the PDF to be generated is the same as the original version. To create a PDF file with a different version use Convert or ConvertToPDFA
For an example, refer to PDFFile.
Products |
Support |
Feedback: SetDocumentProperties Method - Leadtools.Pdf |
Introduction |
Help Version 19.0.2017.3.22
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.