This section explains how to draw rectangle in a visio page with Aspose.Diagram. Support using C# to draw rectangle and save as pdf, svg, html, image, xps and other formats.... DrawRectangle ( 1 , 2 , 2 , 4 ); // Save diagram diagram...[ 0 ]. DrawRectangle ( 1 , 2 , 2 , 4 ); // Save diagram as SVG...