We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Updating aspose.slides for fonts


I have one more code snippet, that I am unable to find how to change when updating Aspose.Slides from 8.2 to 14.x Please advise. thank you in advance.

for (int idx = 0; idx < aPresentation.Fonts.Count; idx++)
Aspose.Slides.FontEntity font = aPresentation.Fonts[idx];

if (font.FontName == "ZapfDingbats")
font.FontName = "Wingdings";

Karen Schmidt

Hi Karen Schmidt,

I have observed the requirements shared by you and like to share that in new API we have FontData class to deal with Fonts. Please visit this documentation link for your kind reference in this regard. In order to access the desired portion of text and access the FontData to replace the fonts.

Please share, if I may help you further in this regard.

Many Thanks,