ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Camera Class / Camera Constructor / Camera Constructor(Double,Double,Double,Double,SpatialReference,CameraViewpoint)
X position of the Camera.
Y position of the Camera.
Scale of the Camera.
Heading of the Camera.
Spatial Reference of the Camera.
Viewpoint of the Camera.

In This Topic
    Camera Constructor(Double,Double,Double,Double,SpatialReference,CameraViewpoint)
    In This Topic
    Initialize a new instance of a Camera using properties common for a 2D view.
    Syntax
    Public Function New( _
       ByVal x As Double, _
       ByVal y As Double, _
       ByVal scale As Double, _
       ByVal heading As Double, _
       Optional ByVal spatialReference As SpatialReference, _
       Optional ByVal viewpoint As CameraViewpoint _
    )

    Parameters

    x
    X position of the Camera.
    y
    Y position of the Camera.
    scale
    Scale of the Camera.
    heading
    Heading of the Camera.
    spatialReference
    Spatial Reference of the Camera.
    viewpoint
    Viewpoint of the Camera.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also