Method GetCurrentViewpoint
GetCurrentViewpoint(ViewpointType)
Declaration
public Viewpoint GetCurrentViewpoint(ViewpointType viewpointType)
Parameters
Type | Name | Description |
---|---|---|
ViewpointType | viewpointType | Type of Viewpoint. |
Returns
Type | Description |
---|---|
Viewpoint | A Viewpoint if this view is initialized and has a loaded Map or
Scene; otherwise, |
Remarks
To change the view viewpoint, you can use the SetViewpointAsync(Viewpoint) method available on the view.
This takes into account the attribution bar if it is visible. See IsAttributionTextVisible.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Windows | 100.13 - 200.5 |