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


ICalcRendererValues.GetFieldTotals Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

ICalcRendererValues.GetFieldTotals Method

Gets totals for all fields.

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

Parameters doubleArrayTotals [out, retval] doubleArrayTotals is a parameter of type VARIANT

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