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

NameValueDescription
Png0Metafiles are rendered to raster PNG images.
Svg1Metafiles are converted to vector SVG images.
EmfOrWmf2Metafiles 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