BackColor for TextFrame

Hi Alexey,

TextFrame.FillFormat.BackColor always returns 0xffffff (white color), (i try TextFrame.FillFormat.ForeColor and it returns correct value but for TextFrame with no filling it returns “Automatic” color)

Dear CAV,

FillFormat.BackColor have different meanings for different fill styles:

  1. Solid. PP use it if ForeColor is transparent.
  2. Gradient/One Color. Not used at all except alpha value.
  3. Gradient/Two colors. The second color.
If BackColor not defined in ppt file then it has Color.White value by default for all fill styles.

ok thanks,

question: TextFrame.LineFormat.Width always return 1 (however in PP Line has value 0.75).

(also if TextFrame do not have Lines (No Lines in PP) TextFrame.LineFormat probably must return "null")

Another question: why ((Table)shape).FillFormat and ((Table)shape).LineFormat has ?

Dear CAV,

They have null value because were not implemented for GroupShape.

And what about previous question? (TextFrame.LineFormat)

Dear CAV,

Will be corrected in the next hot fix.

“if TextFrame do not have Lines (No Lines in PP) TextFrame.LineFormat probably must return “null”)” - this not fixed yet?

How can i determine that TextFrame (or TextHolder) does not have lines?

Dear CAV,

Interesting question… LineFormat is always not null now. At first please check 1.4.6 hot fix.
Probably later I will add Shape.Frame property to identify type of frame (Rectangle, Ellipse an etc.).