Obsolete Members for LabelDefinition

  • LabelDefinition
  • The following members of class LabelDefinition are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

    Public Functions

    (obsolete) LabelDefinition(QObject *parent = nullptr)

    Member Function Documentation

    LabelDefinition::LabelDefinition(QObject *parent = nullptr)

    This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

    Creates a label definition.

    • parent - The optional parent QObject.

    The default LabelDefinition will have an empty expression and no TextSymbol, and will not produce any text labels until those properties are set.

    This method is deprecated since 100.11. LabelDefinition has replaced this method.

    It is safer to construct a LabelDefinition using a LabelExpression and TextSymbol. This reduces the chance of LabelDefinition being used with no expression or textSymbol, which would result in no labels being created.

    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