Apply Theme To Shape

Set Theme Color to a Shape in Visio

This topic elaborates how developers can apply theme color to a shape using Aspose.Diagram for .NET.

The code below shows how to:

  1. Load a sample diagram.
  2. get a particular page.
  3. get a particular shape.
  4. set theme of the shape.
  5. save diagram

Set Theme to a shape Programming Sample

Use the following code in your .NET application to set appearance of the connector type shape using Aspose.Diagram for .NET.