focus.getMax()

Description

Gets the maximum value of focus for the current camera.

Syntax

DCSObject.camera.focus.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.focus.getMax();  // Get the maximum value of focus for the current camera.
      

See also

.camera.focus.setCurrent()
.camera.focus.getCurrent()
.camera.focus.getDefault()
.camera.focus.getMin()
.camera.focus.getIfAuto()
.camera.focus.setIfAuto()
.camera.focus.getIfDefaultAuto()