Show / Hide Table of Contents

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, null.

Remarks

To change the view viewpoint, you can use the SetViewpointAsync(Viewpoint) method available on the view.

Applies to

Platforms and versions
TargetVersions
.NET 6.0 Windows100.13 - 200.0
In This Article
Back to top Copyright © 2022 Esri.