Show / Hide Table of Contents

Property AllowScalingSelectedElement

AllowScalingSelectedElement

Gets or sets a value indicating whether to allow you to interactively scale the selected GeometryEditorElement. Default is true.

Declaration
public bool AllowScalingSelectedElement { get; set; }
Property Value
Type Description
System.Boolean

true to allow you to interactively scale the selected GeometryEditorElement, false otherwise. Default is true.

Remarks

This property applies when the SelectedElement is:

  • a GeometryEditorGeometry when Geometry is a Polygon, a Polyline, or a Multipoint
  • a GeometryEditorPart

For example, this does not apply if the selected element is a GeometryEditorVertex because a zero-dimensional geometry cannot be scaled.

When this property is true, and the SelectedElement is scalable, then control handles are displayed (see BoundingBoxHandleSymbol) that allow the selected element to be interactively scaled. The bounding box of the selected element is also displayed (BoundingBoxSymbol).

Interactive scaling changes the extent of the selected element according to the movement of the scale handle being moved - the opposite handle is used as the origin of the scale transformation. Use ScaleSelectedElement(Double, Double, MapPoint) to scale the selected element relative to a given origin.

SetAllowTransformation(Boolean) sets this property.

See Also
CanScale
PropertyChanged

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.3 - 200.7
.NET200.3 - 200.7
.NET Windows200.3 - 200.7
.NET Android200.3 - 200.7
.NET iOS200.3 - 200.7
.NET Framework200.3 - 200.7
UWP200.3 - 200.7
In This Article
Back to top Copyright © 2022 Esri.