ScnLib_SetCursorEffectsImages()

ScnLib_SetCursorEffectsImagesA/W()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) void __stdcall ScnLib_SetCursorEffectsImagesA(LPCSTR pcszHighlight, LPCSTR pcszLeftClick, LPCSTR pcszRightClick);
__declspec(dllimport) void __stdcall ScnLib_SetCursorEffectsImagesW(LPCWSTR pcwszHighlight, LPCWSTR pcwszLeftClick, LPCWSTR pcwszRightClick);
C# [DllImport("ScnLib.dll", CharSet = CharSet.Unicode)] public static extern void ScnLib_SetCursorEffectsImagesW(string Highlight, string LeftClick, string RightClick);
Basic Public Declare Unicode Sub ScnLib_SetCursorEffectsImagesW Lib "ScnLib.dll" (ByVal Highlight As String, ByVal LeftClick As String, ByVal RightClick As String)
Delphi procedure ScnLib_SetCursorEffectsImagesA(const Highlight: PAnsiChar; const LeftClick: PAnsiChar; const RightClick: PAnsiChar); stdcall; external 'ScnLib.dll';
procedure ScnLib_SetCursorEffectsImagesW(const Highlight: PWideChar; const LeftClick: PWideChar; const RightClick: PWideChar); stdcall; external 'ScnLib.dll';
  • Description
    Set the images for mouse cursor effects.

  • Parameters
    • Highlight [in]
      The file path for the image to be used as the mouse cursor highlight effect in the video. The cursor's hotspot is located at the center of this image. For optimal results, it is recommended to use a PNG image with an alpha channel, allowing for transparency and seamless integration into the video.
    • LeftClick [in]
      The file path for the image to be used as the mouse left button click effect in the video. This can be a strip image composed of sequential square image blocks, designed to create an animation effect. The cursor's hotspot is located at the center of each square image block. For optimal results, it is recommended to use a PNG image with an alpha channel, allowing for transparency and seamless integration into the video.
    • RightClick [in]
      The file path for the image to be used as the mouse right button click effect in the video. This can be a strip image composed of sequential square image blocks, designed to create an animation effect. The cursor's hotspot is located at the center of each square image block. For optimal results, it is recommended to use a PNG image with an alpha channel, allowing for transparency and seamless integration into the video.
  • Return Value
    None.

  • Remarks
    Use this function to set the images for mouse cursor effects. The effects for which a valid image file path is provided will have their default circle effect replaced by the specified image. This customization enables for unique and personalized cursor effects in your video. You can use this function during the recording process. To check the current settings for mouse cursor effects images, call ScnLib_GetCursorEffectsImagesA/W().

  • See Also
    ScnLib_AddCursorEffects()
    ScnLib_GetCursorEffectsImagesA/W()
    ScnLib_SetCursorEffectsColors()

Try the SDK for FREE SDK APIs overview