SaveOptions.SaveFormat
SaveOptions SaveFormat property. Specifies the format in which the document will be saved if this save options object is used.
SaveOptions.SaveFormat property
Specifies the format in which the document will be saved if this save options object is used.
public SaveFormat SaveFormat { get; set; }
Examples
Shows how specify save format using appropriate property in save options.
XpsSaveOptions so = new XpsSaveOptions();
so.SaveFormat = SaveFormat.OpenXps;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "SaveOptions.SaveFormat.xps", so)
.Execute();
See Also
- enum SaveFormat
- class SaveOptions
- namespace Wordize.Saving
- assembly Wordize