HtmlSaveOptions.ReplaceBackslashWithYenSign

HtmlSaveOptions ReplaceBackslashWithYenSign property. Specifies whether backslash characters should be replaced with yen signs. Default value is false.

HtmlSaveOptions.ReplaceBackslashWithYenSign property

Specifies whether backslash characters should be replaced with yen signs. Default value is false.

public bool ReplaceBackslashWithYenSign { get; set; }

Remarks

By default, Wordize mimics MS Word’s behavior and doesn’t replace backslash characters with yen signs in generated HTML documents. However, previous versions of Wordize performed such replacements in certain scenarios. This flag enables backward compatibility with previous versions of Wordize.

Examples

Shows how to instructs Wordize to replace backslash characters with yen signs while exporting document to HTML.

HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions();
htmlSaveOptions.ReplaceBackslashWithYenSign = true;

Converter.Create()
    .From(MyDir + "Simple.docx")
    .To(ArtifactsDir + "HtmlSaveOptions.ReplaceBackslashWithYenSign.html", htmlSaveOptions)
    .Execute();

See Also