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


ICalcRendererValues.GetFieldTotals 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.GetFieldTotals Method
ArcGIS Developer Help

ICalcRendererValues.GetFieldTotals Method

Gets totals for all fields.

[Visual Basic .NET]
Public Function GetFieldTotals ( _
) As Object
[C#]
public object GetFieldTotals (
);
[C++]
HRESULT GetFieldTotals(
void
);

Product Availability

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

Remarks

This method calculates the field totals for the data referenced by the feature layer and the fields defined by the feature renderer. Before calling this method you must call SetData to set the feature layer and feature renderer.

This method is used to calculate field totals which can then be set to IChartRenderer::FieldTotal to support chart rendering with normalization by percent of total.

See Also

ICalcRendererValues Interface