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


IRepresentationRule.Draw Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IR > IRepresentationRule Interface > IRepresentationRule.Draw Method
ArcGIS Developer Help

IRepresentationRule.Draw Method

Draws a layer of a representation rule. If index is -1, all layers are drawn.

[Visual Basic .NET]
Public Sub Draw ( _
    ByVal index As Integer, _
    ByVal context As IOutputContext, _
    ByVal Geometry As IGeometry, _
    ByVal envelope As IEnvelope _
)
[C#]
public void Draw (
    int index,
    IOutputContext context,
    IGeometry Geometry,
    IEnvelope envelope
);
[C++]
HRESULT Draw(
  long index,
  IOutputContext* context,
  IGeometry* Geometry,
  IEnvelope* envelope
);
[C++]
Parameters
index [in]

index is a parameter of type long context [in]
context is a parameter of type IOutputContext* Geometry [in]
Geometry is a parameter of type IGeometry* envelope [in]
envelope is a parameter of type IEnvelope*

Product Availability

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

See Also

IRepresentationRule Interface