SaveOptions.UpdateAmbiguousTextFont

SaveOptions UpdateAmbiguousTextFont property. Determines whether the font attributes will be changed according to the character code being used.

SaveOptions.UpdateAmbiguousTextFont property

Determines whether the font attributes will be changed according to the character code being used.

public bool UpdateAmbiguousTextFont { get; set; }

Examples

Shows how to update the font to match the character code being used.

OoxmlSaveOptions saveOptions = new OoxmlSaveOptions();
saveOptions.UpdateAmbiguousTextFont = true;

Converter.Create()
    .From(MyDir + "Simple.docx")
    .To(ArtifactsDir + "SaveOptions.UpdateAmbiguousTextFont.docx", saveOptions)
    .Execute();

See Also