RenderingRuleInfo Class

  • RenderingRuleInfo
  • class Esri::ArcGISRuntime::RenderingRuleInfo

    Information about a rendering rule that specifies how images are rendered or processed on an ArcGIS Image Service. More...

    Header: #include <RenderingRuleInfo.h>
    Since: Esri::ArcGISRuntime 100.1

    Public Functions

    RenderingRuleInfo(const QString &name)
    RenderingRuleInfo(const Esri::ArcGISRuntime::RenderingRuleInfo &other)
    RenderingRuleInfo(Esri::ArcGISRuntime::RenderingRuleInfo &&other)
    QString description() const
    QString help() const
    bool isEmpty() const
    QString name() const
    Esri::ArcGISRuntime::RenderingRuleInfo &operator=(const Esri::ArcGISRuntime::RenderingRuleInfo &other)
    Esri::ArcGISRuntime::RenderingRuleInfo &operator=(Esri::ArcGISRuntime::RenderingRuleInfo &&other)

    Detailed Description

    You can obtain a RenderingRuleInfo from the collection of predefined RenderingRuleInfo objects provided by an ArcGIS image service. Alternatively, you can construct a RenderingRuleInfo by providing the name of a predefined service rendering rule.

    To apply the rendering rule, construct a RenderingRule from the RenderingRuleInfo and pass the RenderingRule to an ImageServiceRaster before it is loaded. Next, construct a RasterLayer from the ImageServiceRaster, and add it to the map or scene's operational layers.

    Member Function Documentation


    Default constructor. Creates an empty RenderingRuleInfo.

    [explicit] RenderingRuleInfo::RenderingRuleInfo(const QString &name)

    Creates a rendering rule info object with the name of a predefined service rendering rule.

    • name - The predefined service rendering rule name.

    RenderingRuleInfo::RenderingRuleInfo(const Esri::ArcGISRuntime::RenderingRuleInfo &other)

    Copy constructor from other RenderingRuleInfo.

    RenderingRuleInfo::RenderingRuleInfo(Esri::ArcGISRuntime::RenderingRuleInfo &&other)

    Move constructor from other RenderingRuleInfo.



    QString RenderingRuleInfo::description() const

    Returns the description of a predefined service rendering rule.

    QString RenderingRuleInfo::help() const

    Returns the help of a predefined service rendering rule.

    bool RenderingRuleInfo::isEmpty() const

    Returns if this RenderingRuleInfo is empty.

    QString RenderingRuleInfo::name() const

    Returns the name of a predefined service rendering rule.

    Esri::ArcGISRuntime::RenderingRuleInfo &RenderingRuleInfo::operator=(const Esri::ArcGISRuntime::RenderingRuleInfo &other)

    Assignment operator from other RenderingRuleInfo.

    Esri::ArcGISRuntime::RenderingRuleInfo &RenderingRuleInfo::operator=(Esri::ArcGISRuntime::RenderingRuleInfo &&other)

    Move operator from other RenderingRuleInfo.

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