NShape Programmer Tasks
Changing the Shape Color Programmatically

<< Click to Display Table of Contents >>

Navigation:  Programmer Tasks >

NShape Programmer Tasks
Changing the Shape Color Programmatically

Previous pageReturn to chapter overviewNext page

This section describes, how a program can change a shape's color through code. There are multiple ways to do it, depending on the intended range of influenced objects:

a)Setting the shape color directly at the shape: This influences only the shape itself and detaches its color from the template.
b)Setting the shape color in the template: That way, all shapes belonging to the modified template are changed.
c)Modifying the shape color in the design: When editing the design, all objects referring to the modified style will be adjusted.

See Also

Changing Shape Properties