TextPopupElement Class

  • TextPopupElement
  • class Esri::ArcGISRuntime::TextPopupElement

    Represents a pop-up element of type text that is displayed in a pop-up for a geoelement. More...

    Header: #include <TextPopupElement>
    Since: Esri::ArcGISRuntime 100.14
    Inherits: Esri::ArcGISRuntime::PopupElement

    Public Functions

    TextPopupElement(const QString &text, QObject *parent = nullptr)
    virtual ~TextPopupElement() override
    void setText(const QString &text)
    QString text() const

    Detailed Description

    See also PopupElementType.

    Member Function Documentation

    [explicit] TextPopupElement::TextPopupElement(const QString &text, QObject *parent = nullptr)

    Creates a new text pop-up element with the given text.

    • text - This is string value indicating the text to be displayed within the popupElement. If no `text` property is provided, the popupElement will display whatever is specified in the PopupDefinition::description property.
    • parent - The optional parent QObject.

    [override virtual] TextPopupElement::~TextPopupElement()

    Destructor.

    void TextPopupElement::setText(const QString &text)

    Sets the text to text.

    See also text.

    QString TextPopupElement::text() const

    Returns the text to display in the pop-up.

    See also setText().

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close