ScnLib_SetZoomSpeed()

ScnLib_SetZoomSpeed()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) void __stdcall ScnLib_SetZoomSpeed(double dSpeed);
C# [DllImport("ScnLib.dll")] public static extern void ScnLib_SetZoomSpeed(double Speed);
Basic Public Declare Sub ScnLib_SetZoomSpeed Lib "ScnLib.dll" (ByVal Speed As Double)
Delphi procedure ScnLib_SetZoomSpeed(Speed: Double); stdcall; external 'ScnLib.dll';
  • Description
    Set the speed ratio of the zooming transition effect.

  • Parameters
    • Speed [in]
      The speed ratio of the zooming transition effect, ranges from 0.1 to 10.0, with the default set at 1.0. A smaller ratio results in a slower transition speed, while a higher ratio increases the speed of the transition. To completely bypass the transition effect, set the maximum value of 10.0.
  • Return Value
    None.

  • Remarks
    When zooming in/out the screen capture region, a smooth, dynamic transition effect accompanies the zooming process, ensuring that the zoom doesn't appear abrupt in the video. If you feel the default transition speed is not suitable for your preferences, you may call this function to tune the transition speed to make the transition faster, slower or even bypassed. To check the current speed ratio of zooming transition effect, call ScnLib_GetZoomSpeed().

  • See Also
    ScnLib_GetZoomSpeed()
    ScnLib_ZoomInScreen()

Try the SDK for FREE SDK APIs overview