HtmlFixedSaveOptions.CssClassNamesPrefix

HtmlFixedSaveOptions CssClassNamesPrefix property. Specifies prefix which is added to all class names in style.css file. Default value is wrdz.

HtmlFixedSaveOptions.CssClassNamesPrefix property

Specifies prefix which is added to all class names in style.css file. Default value is "wrdz".

public string CssClassNamesPrefix { get; set; }

Examples

Shows how to specify custom css class name prefix in HtmlFixed.

HtmlFixedSaveOptions htmlFixedSaveOptions = new HtmlFixedSaveOptions();
htmlFixedSaveOptions.CssClassNamesPrefix = "mycss";

Converter.Create()
    .From(MyDir + "Simple.docx")
    .To(ArtifactsDir + "HtmlFixedSaveOptions.CssClassNamesPrefix.html", htmlFixedSaveOptions)
    .Execute();

See Also