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


ICalcRendererValues.SetData Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IC > ICalcRendererValues Interface > ICalcRendererValues.SetData Method
ArcGIS Developer Help

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