Use C# Diagram API to create, update and auto layout shapes in Visio files using C# within your applications. Complete guide with C# code samples.... Text = @"Rectangle text." ; // Add a new star...5 ); visioStarShape . Text = @"Star text." ; // Add a new hexagon...