←Select platform

OutputDocumentFileName Property

Summary

Name of the output file generated by this conversion.

Syntax
C#
VB
C++
Java
public string OutputDocumentFileName { get; set; } 
Public Property OutputDocumentFileName() As String 
   Get 
   Set 
public:  
   property String^ OutputDocumentFileName 
   { 
      String^ get() 
      void set(String^ value) 
   } 
public String getOutputDocumentFileName() 
public void setOutputDocumentFileName(String value) 

Property Value

Name of the output file generated by this conversion.

Remarks

One output must be specified for the conversion to be successful: One of OutputAnnotationsFileName, OutputDocumentStream or UploadDocumentOptions must not be null.

The file will be overwritten if it previously existed. The full path must contain a valid file name that can be created using the current process.

You can use GetFormatFileExtension to get the default extension to use with the DocumentFormat when generating this file name.

If the output file format used (either DocumentFormat or RasterImageFormat) does not support multipage files and the input document contains multiple pages, then the value of DocumentConverterOptions.PageNumberingTemplate is used to generate the names of the files created by the job.

Example

For an example, refer to RunJob and RunJobAsync.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Converter Assembly