Font.Background Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets the type of background for text used in charts. Can be one of the XlBackground constants.
public:
property System::Object ^ Background { System::Object ^ get(); void set(System::Object ^ value); };
public object Background { get; set; }
Public Property Background As Object
Property Value
Remarks
xlBackgroundAutomatic | Font background will automatically change the background area around the text to a color that best displays the chart text on the color applied to elements under the text |
xlBackgroundOpaque | Font background will set the font background to black if the text color and fill color underneath the text are very close or the same color, such that the text would not appear |
xlBackgroundTransparent | Font background is set to transparent so that text background does not change if the text color is close to the color underneath the text |