Show / Hide Table of Contents

Method SetViewpointCamera

SetViewpointCamera(Camera)

Immediately changes the display to the viewpoint specified by the given camera.

Declaration
public void SetViewpointCamera(Camera camera)
Parameters
Type Name Description
Camera camera

The new camera information for the scene view.

Exceptions
Type Condition
ArgumentNullException

camera

Applies to

Platforms and versions
TargetVersions
.NET 6.0 Windows100.13 - 200.2
.NET Framework100.0 - 200.2
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
In This Article
Back to top Copyright © 2022 Esri.