ArcObjects Library Reference (Carto)  

ICalcRendererValues.SetData Method

Sets data for calculation.

[Visual Basic .NET]
Public Sub SetData ( _
    ByVal Layer As IFeatureLayer, _
    ByVal Renderer As IFeatureRenderer _
)
[C#]
public void SetData (
    IFeatureLayer Layer,
    IFeatureRenderer Renderer
);
[C++]
HRESULT SetData(
  IFeatureLayer* Layer,
  IFeatureRenderer* Renderer
);
[C++]

Parameters

Layer [in]

  Layer is a parameter of type IFeatureLayer

Renderer [in]

  Renderer is a parameter of type IFeatureRenderer

Product Availability

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

Remarks

Use this method to connect the CalcRendererValues object to a feature layer and feature renderer. The renderer is usually a ChartRenderer.

See Also

ICalcRendererValues Interface