Skip to main content
Known Participant
March 19, 2015
Question

Losing table rulings when setting cell.CellUseOverrideShading = true; How do I keep existing table rulings?

  • March 19, 2015
  • 1 reply
  • 307 views

Hi All,

I am applying a custom shading to a cell, according to an attribute setting, however after the custom shading is applied,  I lose the table rulings that were present. How do I tell it in code to keep existing rulings?

cell.CellUseOverrideShading = true ;

                cell.CellUseOverrideFill = true ;

                cell.CellOverrideFill = 0 ; // change the table

                var colorObj = doc.GetNamedColor("MYshading");

                cell.CellOverrideShading = colorObj;

thanks,

Tracey

This topic has been closed for replies.

1 reply

frameexpert
Community Expert
Community Expert
March 19, 2015

Hi Tracey, I am not seeing this behavior. Is the ruling that you are losing custom, or part of the table format? I am testing in FrameMaker 12. What version are you using? Can you send me an example document with a table in it? I am not sure if you can upload files here, but you can send it to me at rick at frameexpert dot com. I will be glad to look at it. -Rick

www.frameexpert.com