MetafileRecorderGraphics2DDrawRectangle Method (Pen, Rectangle)
Draws the rectangle.

Namespace: Aspose.Imaging.FileFormats.Emf.Graphics
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
Syntax
public void DrawRectangle(
	Pen pen,
	Rectangle rectangle
)

Parameters

pen
Type: Aspose.ImagingPen
Pen that determines the color, width, and style of the figure.
rectangle
Type: Aspose.ImagingRectangle
The rectangle to draw.
See Also