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.... Add ( new Txt ( @"Rectangle text." )); // Add...shape . Text . Value . Add ( new Txt ( @"Star text." )); // Add a...