pan.getMax()

Description

Gets the maximum value of pan for the current camera.

Syntax

DCSObject.camera.pan.getMax();

Parameters

None

Return value

long

Remarks

The method should be called after camera.selectCamera(). If there is only one data source available, it will be selected automatically.

Example

             DCSObject.camera.selectCamera("Integrated Camera");
             DCSObject.camera.pan.getMax();  // Get the maximum value of pan for the current camera.
      

See also

.camera.pan.setCurrent()
.camera.pan.getCurrent()
.camera.pan.getDefault()
.camera.pan.getMin()