Show / Hide Table of Contents

Method GetConstructionToolOptions

GetConstructionToolOptions(GeometryConstructionTool)

Returns the configuration setting for the specified geometry construction tool.

Declaration
public IReadOnlyDictionary<string, object?> GetConstructionToolOptions(GeometryConstructionTool tool)
Parameters
Type Name Description
GeometryConstructionTool tool

The geometry construction tool.

Returns
Type Description
IReadOnlyDictionary<string, object>

A dictionary containing the tool's settings, or an empty dictionary if none are defined.

Remarks

Use this method to get options for a selected tool. For example, Line can generate a densified line by adding extra vertices at regular intervals. The optional settings specify whether to densify, the sample distance, and the linear unit to use.

See Point construction tools, and Polyline and polygon construction tools for more information.

An empty dictionary is expected when no available options are found for the specified tool.

Exceptions
Type Condition
InvalidOperationException

Template is not loaded.

Applies to

Platforms and versions
TargetVersions
.NET300
.NET Windows300
.NET Android300
.NET iOS300
In this article
Provide feedback
Back to top Copyright © 2025 Esri.