ESRI.ArcGIS.Mobile
DrawEllipse Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile Namespace > MapSurface Class : DrawEllipse Method

pen
Pen object that determines the color and style of the ellipse.
brush
Brush object that determines the color of the fill.
envelope
Envelope object that represents the bounding rectangle that defines the ellipse.
Draws an ellipse specified by the bounding Envelope object using the specified pen.

Syntax

Visual Basic (Declaration) 
Public Sub DrawEllipse( _
   ByVal pen As Pen, _
   ByVal brush As SolidBrush, _
   ByVal envelope As Envelope _
) 
C# 
public void DrawEllipse( 
   Pen pen,
   SolidBrush brush,
   Envelope envelope
)

Parameters

pen
Pen object that determines the color and style of the ellipse.
brush
Brush object that determines the color of the fill.
envelope
Envelope object that represents the bounding rectangle that defines the ellipse.

Exceptions

ExceptionDescription
ArgumentNullExceptionNull envelope for the ellipse to be drawn.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.