다음을 통해 공유


ConversionJobSettings.OutputFormat Property

Gets or sets a SaveFormat value, which specifies the Save format for this conversion job.

Namespace:  Microsoft.Office.Word.Server.Conversions
Assembly:  Microsoft.Office.Word.Server (in Microsoft.Office.Word.Server.dll)

Syntax

'Declaration
<DataMemberAttribute(EmitDefaultValue := False)> _
Public Property OutputFormat As SaveFormat
    Get
    Set
'Usage
Dim instance As ConversionJobSettings
Dim value As SaveFormat

value = instance.OutputFormat

instance.OutputFormat = value
[DataMemberAttribute(EmitDefaultValue = false)]
public SaveFormat OutputFormat { get; set; }

Property Value

Type: Microsoft.Office.Word.Server.Conversions.SaveFormat
One of the SaveFormat values.

Remarks

The extension associated with the Save format specified here is appended to the output file if the extension is not already present. For example, when converting to PDF, a document with the output file name http://contoso/output/output.pdf would remain unchanged; a document with the output file name http://contoso/output/output.docx would be changed to http://contoso/output/output.docx.pdf.

See Also

Reference

ConversionJobSettings Class

ConversionJobSettings Members

Microsoft.Office.Word.Server.Conversions Namespace