ArcGIS Pro 2.9 API Reference Guide
CreateFieldStatisticTextElement Method (IReportElementFactory)

ArcGIS.Desktop.Reports Namespace > IReportElementFactory Interface : CreateFieldStatisticTextElement Method
ILayoutElementContainer
Envelope
ReportFieldStatistic
CIMTextSymbol
Creates a field statistic text element on a report from an envelope geometry. This method must be called on the MCT. Use QueuedTask.Run.
Syntax

Parameters

elementContainer
ILayoutElementContainer
envelope
Envelope
reportFieldStatistic
ReportFieldStatistic
textSymbol
CIMTextSymbol

Return Value

Returns a GraphicElement
Remarks
The element gets added to the group at the topmost position.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

IReportElementFactory Interface
IReportElementFactory Members