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 Windows300
In this article
Provide feedback
Back to top Copyright © 2025 Esri.