DisableFontLigatures
IRenderingOptions.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"))
{
RenderingOptions options = new RenderingOptions
{
DisableFontLigatures = true // Disable ligatures in text rendering
};
Bitmap[] renderedSlides = pres.GetImage(options);
for (var index = 0; index < renderedSlides.Length; index++)
{
var slideImage = renderedSlides[index];
slideImage.Save($"slide-{index}.png");
}
}
See Also
- interface IRenderingOptions
- namespace Aspose.Slides.Export
- assembly Aspose.Slides