Method SetViewpointAsync
SetViewpointAsync(Viewpoint)
Declaration
public Task<bool> SetViewpointAsync(Viewpoint viewpoint)
Parameters
Type | Name | Description |
---|---|---|
Viewpoint | viewpoint | Viewpoint object |
Returns
Type | Description |
---|---|
Task<Boolean> |
|
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET 6.0 Windows | 100.13 - 200.2 |
.NET Framework | 100.0 - 200.2 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
SetViewpointAsync(Viewpoint, TimeSpan)
Pan or zoom the GeoView using animation to the specified Viewpoint location. Animation takes place over the specified duration.
Declaration
public Task<bool> SetViewpointAsync(Viewpoint viewpoint, TimeSpan duration)
Parameters
Type | Name | Description |
---|---|---|
Viewpoint | viewpoint | Viewpoint object |
TimeSpan | duration | The amount of time to move to the new viewpoint. |
Returns
Type | Description |
---|---|
Task<Boolean> |
|
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET 6.0 Windows | 100.13 - 200.2 |
.NET Framework | 100.0 - 200.2 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |