HtmlMetafileFormat Enum
Wordize.Saving.HtmlMetafileFormat enum. Indicates the format in which metafiles are saved to HTML documents.
HtmlMetafileFormat enumeration
Indicates the format in which metafiles are saved to HTML documents.
public enum HtmlMetafileFormat
Values
Name | Value | Description |
---|---|---|
Png | 0 | Metafiles are rendered to raster PNG images. |
Svg | 1 | Metafiles are converted to vector SVG images. |
EmfOrWmf | 2 | Metafiles are saved as is, without conversion. |
Examples
Shows how to specify format in which metafiels are exported to HTML.
HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions();
htmlSaveOptions.MetafileFormat = HtmlMetafileFormat.Svg;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "HtmlSaveOptions.MetafileFormat.html", htmlSaveOptions)
.Execute();
See Also
- namespace Wordize.Saving
- assembly Wordize