HtmlLoadOptions.SupportVml

HtmlLoadOptions SupportVml property. Gets or sets a value indicating whether to support VML images. Default values s false.

HtmlLoadOptions.SupportVml property

Gets or sets a value indicating whether to support VML images. Default values s false.

public bool SupportVml { get; set; }

Examples

Shows how to support conditional comments while loading an HTML document.

HtmlLoadOptions htmlLoadOptions = new HtmlLoadOptions();
htmlLoadOptions.SupportVml = true;

Converter.Create()
    .From(MyDir + "VML conditional.htm", htmlLoadOptions)
    .To(ArtifactsDir + "HtmlLoadOptions.SupportVml.docx")
    .Execute();

See Also