Method GetCurrentViewpoint
GetCurrentViewpoint(ViewpointType)
Gets the current Viewpoint of the view.
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.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET 6.0 Windows | 100.13 - 100.15 |