Set Shape Color Independently of Font Color
Leave feedback
On this page
GroupDocs.Comparison for Python via .NET lets you colour shapes separately from text. Use StyleSettings.shape_color alongside font_color to emphasize shape modifications without altering text colour coding.
Use case: emphasize shape modifications (e.g., diagrams) without altering text colour coding.
The result is as follows:
When the distinction matters
StyleSettings.font_color controls the colour of text runs in the result. StyleSettings.shape_color controls the colour of shape outlines and fills — text frames, callouts, lines, autoshapes, diagram elements.
In documents that mix prose and diagrams (technical specs, contracts with embedded org charts, marketing decks with infographics), using a single colour for both makes shape changes hard to spot against the text-change highlights. Setting shape_color distinct from font_color gives you a visually obvious “this shape was modified” signal.
When the source/target only differ in text, set font_color only and skip shape_color — leaving it at the default keeps shapes visually neutral.