Show / Hide Table of Contents

Method GetCurrentViewpoint

GetCurrentViewpoint(ViewpointType)

Gets the current Viewpoint of the GeoView.

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.

This takes into account the attribution bar if it is visible. See IsAttributionTextVisible.

Applies to

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