Format Visio Pages

Aspose.Diagram for .NET API allows developers to format pages of a Visio Diagram file. Applying Stylesheets is one such method to format Visio pages.

Apply Stylesheets to Visio Page

Aspose.Diagram for .NET API lets you format a Visio page using Stylesheets. You can define a stylesheet and add it to the Visio document’s stylesheet collection. The ApplyStyle method of Page class lets you apply the defined stylesheet to the page as shown in the following code sample.