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.... Replace ( "This is test message." ...); visioRectShape . Text = @"Rectangle text." ; // Add a new star...