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

Free Support Forum - aspose.com

PPTX portion colour property?

Hi there

I’m using Aspose.Slides 4.1.0 to read the text formatting styles from PPTX files. However, I cant find a portion property which represents text color. I was wondering if you could point me in the right directio

Hi Eric,

Thanks for your interest in Aspose.Slides.

Well, there is FillFormat property exposed by PortionEx object that can be used to get color fill style for the text in the portion. For instance, if there is tf as instance of TextFramEx, then tf.Paragraphs[0].Portions[0].FillFormat.SolidFillColor.Color will represent the font color of the text in tf.Paragraphs[0].Portions[0].

Thanks and Best Regards