• PresetTemplateDefinition
  • class Esri::ArcGISRuntime::PresetTemplateDefinition

    Defines how a primary feature and its preset features are created from a preset template. More...

    Header: #include <PresetTemplateDefinition.h>
    Since: Esri::ArcGISRuntime 300.0
    Inherits: Esri::ArcGISRuntime::TemplateDefinition

    Public Functions

    virtual ~PresetTemplateDefinition() override
    Esri::ArcGISRuntime::Point origin() const
    QList<Esri::ArcGISRuntime::PresetTemplateAssociation *> presetTemplateAssociations() const
    QList<Esri::ArcGISRuntime::PresetTemplateFeature *> presetTemplateFeatures() const
    Esri::ArcGISRuntime::Point secondary() const

    Detailed Description

    Features created from this template come pre-arranged around the origin with secondary rotation if specified.

    Utility associations are also created for the features if they are part of a utility network.

    Member Function Documentation

    [override virtual noexcept] PresetTemplateDefinition::~PresetTemplateDefinition()

    Destructor.

    Esri::ArcGISRuntime::Point PresetTemplateDefinition::origin() const

    Returns the point from which presetTemplateFeatures are arranged.

    QList<Esri::ArcGISRuntime::PresetTemplateAssociation *> PresetTemplateDefinition::presetTemplateAssociations() const

    Returns the collection of preset template associations to create with the presetTemplateFeatures.

    QList<Esri::ArcGISRuntime::PresetTemplateFeature *> PresetTemplateDefinition::presetTemplateFeatures() const

    Returns the collection of preset template features to create around the origin.

    Esri::ArcGISRuntime::Point PresetTemplateDefinition::secondary() const

    Returns an optional secondary location that determines the rotation of the presetTemplateFeatures.