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