Click or drag to resize

Viewpoint Constructor (Geometry, Double, Camera)

Initializes a new instance of the Viewpoint class with a bounding extent, rotation, and Camera.

Namespace:  Esri.ArcGISRuntime.Mapping
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
Syntax
public Viewpoint(
	Geometry targetGeometry,
	double rotation,
	Camera camera
)

Parameters

targetGeometry
Type: Esri.ArcGISRuntime.GeometryGeometry
The geometry to use as the visible area.
rotation
Type: SystemDouble
The rotation angle in degrees between 0 and 360.
camera
Type: Esri.ArcGISRuntime.MappingCamera
A Camera object that defines the observer for the scene.
Exceptions
ExceptionCondition
ArgumentNullExceptiontargetGeometry cannot be null.
Remarks
The spatial reference of the target geometry cannot be null.
See Also