ESRI.ArcGIS.Mobile
DrawEnvelope Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile Namespace > Display Class : DrawEnvelope Method

pen
Pen object that determines the color and style of the Envelope.
brush
Brush object that determines the color of the fill.
envelope
A rectangular area.
Draws an Envelope object using the specified pen.

Syntax

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

Parameters

pen
Pen object that determines the color and style of the Envelope.
brush
Brush object that determines the color of the fill.
envelope
A rectangular area.

Exceptions

ExceptionDescription
ArgumentNullExceptionNull envelope to be drawn.

Requirements

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