This document is archived and information here might be outdated.  Recommended version.


IDynamicDrawScreen.DrawScreenRectangle Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDynamicDrawScreen Interface > IDynamicDrawScreen.DrawScreenRectangle Method
ArcGIS Developer Help

IDynamicDrawScreen.DrawScreenRectangle Method

Draws specified rectangle with fill and line on the screen.

[Visual Basic .NET]
Public Sub DrawScreenRectangle ( _
    ByVal envelope As IEnvelope _
)
[C#]
public void DrawScreenRectangle (
    IEnvelope envelope
);
[C++]
HRESULT DrawScreenRectangle(
  IEnvelope* envelope
);
[C++]
Parameters
envelope [in]

envelope is a parameter of type IEnvelope*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

Similar to DrawPolygon method, the fill will be rendered according to the current Dynamic Fill Symbol attributes, and the lines will be rendered according to the current Dynamic Line Symbol attributes, as described in esriDynamicSymbolType constants.

See Also

IDynamicDrawScreen Interface