Legend Background Frame Does Not Update

Discussion created by earnshaw on Jul 8, 2010
Latest reply on Jul 8, 2010 by kirkktx
I have a Legend in my PageLayout it has a black border and white background.

I am referencing the mxd via IMapDocument outside of ArcGIS envionment (Arc Engine).

When I programmatically change the layers that are visible the legend updates automatically and shrinks and grows accordingly (great!) - however the background frame does not and just stays as it was initially set when the mxd was saved (this is not great).  This makes my legend look really bad.

Look at attached word doc to see what is happening.

Does anyone know how to stop this happening or does anyone know how to update in code the background frame?