This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IC > ICalcRendererValues Interface > ICalcRendererValues.SetData Method (ArcObjects .NET 10.4 SDK) |
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
Use this method to connect the CalcRendererValues object to a feature layer and feature renderer. The renderer is usually a ChartRenderer.