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

Free Support Forum - aspose.com

Issue with changing Font color in PPTx

Hi Aspose

As per the code demonstrated on Demo i am trying to change the font color but it is not happening. Below is the my code which i am trying.

ShapeEx fshape = FindShape(SlideEx, "FooterText");

if (fshape != null)


AutoShapeEx Fmyrac = (AutoShapeEx)fshape;

TextFrameEx ftxt = Fmyrac.TextFrame;

ParagraphEx Para = new ParagraphEx();

Para.Text ="My Text";

Para.Portions[0].FontHeight = 10;

Para.Portions[0].FillFormat.SolidFillColor.Color = Color.White;

Para.Portions[0].FontBold = NullableBool.True;




please tell me what is the wrong i am doing here and also please tell how to change the background color of a table cell created in PPTx slide.


Waiting for your reply.

Hi Binod,

Thanks for considering Aspose.Slides.

I have observed the code snippet shared by you and it seems fine except one thing that I feel you are missing here. Actually, in order to apply the font color to the portion text, one needs to set the FillType to Solid as well for the portion text. Please visit this documentation link for further details.

Thanks and Regards,