ScnLib_SetWebcamDirection()

ScnLib_SetWebcamDirection()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) void __stdcall ScnLib_SetWebcamDirection(BOOL bMirroring, BOOL bFlipping);
C# [DllImport("ScnLib.dll")] public static extern void ScnLib_SetWebcamDirection(bool Mirroring, bool Flipping);
Basic Public Declare Sub ScnLib_SetWebcamDirection Lib "ScnLib.dll" (ByVal Mirroring As Boolean, ByVal Flipping As Boolean)
Delphi procedure ScnLib_SetWebcamDirection(Mirroring: LongBool; Flipping: LongBool); stdcall; external 'ScnLib.dll';
  • Description
    Adjust the webcam view direction.

  • Parameters
    • Mirroring [in]
      TRUE: Horizontal mirroring. FALSE: No mirroring.
    • Flipping [in]
      TRUE: Vertical flipping. FALSE: No flipping.
  • Return Value
    None.

  • Remarks
    Use this function to adjust the webcam view direction, including mirroring and flipping options. If the webcam's display orientation does not meet your requirements, use this function to modify it accordingly. Initially, the webcam is set to neither mirror nor flip its view. To check the current direction of the webcam view, call ScnLib_GetWebcamDirection().

  • See Also
    ScnLib_PreviewWebcam()
    ScnLib_GetWebcamDirection()

Try the SDK for FREE SDK APIs overview