Method ScaleSelectedElement
ScaleSelectedElement(Double, Double, MapPoint)
Scales the selected element by the specified factors.
Declaration
public void ScaleSelectedElement(double scaleX, double scaleY, MapPoint origin)
Parameters
Type | Name | Description |
---|---|---|
System.Double | scaleX | The scale factor along the x-axis. It can be positive or negative. It cannot be 0, or a non-numeric value. |
System.Double | scaleY | The scale factor along the y-axis. It can be positive or negative. It cannot be 0, or a non-numeric value. |
MapPoint | origin | The point relative to which the geometry will be scaled. If |
Remarks
If the origin System.Drawing.Point has a different SpatialReference than the associated MapView, the point will be reprojected before the geometry is rotated, using the default transformation.
Positive scale factors greater than 1 increase the size of the Geometry, and positive factors between 0 and 1 reduce the size of the geometry. Negative scale factors produce a geometry reflected across the axes of the origin point. Negative factors less than -1 both reflect and increase the size of the geometry, and negative factors between -1 and 0 both reflect and reduce the size of the geometry.
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.3 - 200.6 |
.NET | 200.3 - 200.6 |
.NET Windows | 200.3 - 200.6 |
.NET Android | 200.3 - 200.6 |
.NET iOS | 200.3 - 200.6 |
.NET Framework | 200.3 - 200.6 |
UWP | 200.3 - 200.6 |