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

Free Support Forum - aspose.com

FontBold property is not working with paragraph

Hi Aspose

i am using aspose slides for 2003 to export data to ppt. I am writing some text into a text frame by creating a new paragraph using below code.

Aspose.Slides.Rectangle Fmyrac2 = (Aspose.Slides.Rectangle)(slide.FindShape("FooterText"));

TextFrame ftxt2 = Fmyrac2.TextFrame;

Paragraph Para2 = new Paragraph();

Para2.Text = "Some text" ;

Para2.Portions[0].FontHeight = 10;

Para2.Portions[0].FontColor = System.Drawing.Color.White;

Para2.Portions[0].FontBold = false;

ftxt2.Paragraphs.Clear();

ftxt2.Paragraphs.Add(Para2);

Here my problem is that the FontBold property is not working. Even i am making it false but still my text is bold.

Hi Binod,

Thanks for your interest in Aspose.Slides.

I have used the code snippet provided by you and tried to reproduce the issue as specified by you.I have used Aspose.Slides for .NET 4.1.1 and am unable to reproduce the issue specified. For your reference, I have attached the source and destination presentations, where by the text height, text color and font bold property is successfully implemented and can be observed in destination presentation. Please use the latest version of Aspose.Slides for .NET availble here.

Thanks and Regards,