To change the shape style: Choosing a shape style allows you to apply preset colors and effects to quickly change the appearance of your text box. From the drop-down menu, you can change the outline color, weight (thickness), and whether or not it is a dashed line. I have highlighted it, and via the menu, changed the text color to black, with no highlighting or background color. A background appears behind text or images on the page. On certain user action, I change the TextBlock's background color at runtime but sometimes that makes text unreadable like Black text on Green background. Click Appearance and then the Header sub-menu. Note: When changing your page background color, it will only be applied to that specific document and is not a global or default change. menu-item-XXX a is the default color of the text on the button (the sample is white). You can also add a background color to your document. VBA change font color to background color I have a line of text in a document that is the title of a protected section.
Here's the same shape after we changed the border to orange, the fill to a light green, and the text to black.
Below is sample code.site \ I get However, I want the background of this heading to be changed so that it looks like this:- I want the background to be extended to the right upto line break.