DisableFontLigatures

IHtmlOptions.DisableFontLigatures property

Gets or sets a value indicating whether text is rendered without using ligatures. When set to true, ligatures will be disabled in the rendered output. By default, this property is set to false.

public bool DisableFontLigatures { get; set; }

Examples

Example:

[C#]
using (Presentation pres = new Presentation("pres.pptx"))
{
    HtmlOptions options = new HtmlOptions
    {
        DisableFontLigatures = true // Disable ligatures in text rendering
    };
    
    pres.Save(outputSlidePath, SaveFormat.Html, options);
}

See Also