This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDisplay Interface > IDisplay.DrawRectangle Method (ArcObjects .NET 10.5 SDK) |
Draws specified rectangle on the display.
[Visual Basic .NET] Public Sub DrawRectangle ( _ ByVal rectangle As IEnvelope _ )
[C#] public void DrawRectangle ( IEnvelope rectangle );
[C++]
HRESULT DrawRectangle(
IEnvelope* rectangle
);
[C++]
Parameters rectangle [in]
rectangle is a parameter of type IEnvelope