ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Reports Namespace / IReportElementFactory Interface / CreateFieldStatisticTextElement Method
IElementContainer
Envelope
ReportFieldStatistic
CIMTextSymbol

In This Topic
    CreateFieldStatisticTextElement Method (IReportElementFactory)
    In This Topic
    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
    IElementContainer
    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

    ArcGIS Pro version: 3 or higher.
    See Also