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 |
|
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
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.3 - 200.5 |
.NET | 200.3 - 200.5 |
.NET Windows | 200.3 - 200.5 |
.NET Android | 200.3 - 200.5 |
.NET iOS | 200.3 - 200.5 |
.NET Framework | 200.3 - 200.5 |
UWP | 200.3 - 200.5 |