Method Expand
Expand(Double)
Scales the envelope by the given factor.
Declaration
public void Expand(double factor)
Parameters
Type | Name | Description |
---|---|---|
Double | factor | The factor to scale the envelope by. |
Remarks
A factor
< 1.0 shrinks the envelope, and a factor
> 1.0 expands it.
The envelope's center remains unchanged, but its corners change.
This is the same as calling Expand(MapPoint, Double) with the envelope's center.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
Relevant samples
Add graphics with symbols: Use a symbol style to display a graphic on a graphics overlay.
Buffer list: Generate multiple individual buffers or a single unioned buffer around multiple points.
Clip geometry: Clip a geometry with another geometry.
Edit and sync features: Synchronize offline edits with a feature service.
Expand(MapPoint, Double)
Scales the envelope around an anchor point by the given factor.
Declaration
public void Expand(MapPoint anchor, double factor)
Parameters
Type | Name | Description |
---|---|---|
MapPoint | anchor | A point within the envelope to expand from. |
Double | factor | The factor to scale the envelope by. |
Remarks
A factor
< 1.0 shrinks the envelope, and a factor
> 1.0 expands it.
The specified anchor
point of the envelope remains unchanged, but the envelope's corners change.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |