Show / Hide Table of Contents

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
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.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
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15
In This Article
Back to top Copyright © 2022 Esri.