ZD Screen Recorder SDK API – ScnLib_SetLogoImagePosition()

ScnLib_SetLogoImagePosition()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) void __stdcall ScnLib_SetLogoImagePosition(int nPosition, int nMarginX, int nMarginY);
C# [DllImport("ScnLib.dll")] public static extern void ScnLib_SetLogoImagePosition(int Position, int MarginX, int MarginY);
Basic Public Declare Sub ScnLib_SetLogoImagePosition Lib "ScnLib.dll" (ByVal Position As Int32, ByVal MarginX As Int32, ByVal MarginY As Int32)
Delphi procedure ScnLib_SetLogoImagePosition(Position: Integer; MarginX: Integer; MarginY: Integer); stdcall; external 'ScnLib.dll';
  • Description
    Set the position of the logo image in the video.

  • Parameters
    • Position [in]
      • SCNLIB_POSITION_TOP_LEFT : Positioned at the top-left corner of the video.
      • SCNLIB_POSITION_TOP : Positioned at the top side of the video.
      • SCNLIB_POSITION_TOP_RIGHT : Positioned at the top-right corner of the video.
      • SCNLIB_POSITION_RIGHT : Positioned at the right side of the video.
      • SCNLIB_POSITION_BOTTOM_RIGHT : Positioned at the bottom-right corner of the video.
      • SCNLIB_POSITION_BOTTOM : Positioned at the bottom side of the video.
      • SCNLIB_POSITION_BOTTOM_LEFT : Positioned at the bottom-left corner of the video.
      • SCNLIB_POSITION_LEFT : Positioned at the left side of the video.
      • SCNLIB_POSITION_CENTER : Positioned at the center of the video.
    • MarginX [in]
      The horizontal margin, representing the offset from the edge of the video.
    • MarginY [in]
      The vertical margin, representing the offset from the edge of the video.
  • Return Value
    None.

  • Remarks
    Use this function to position the logo image in the video. Initially, the logo image is positioned at the top-left corner (SCNLIB_POSITION_TOP_LEFT) in the video. You have the flexibility to alter the logo image’s position even during the recording process. To check the logo image’s current position in the video, call ScnLib_GetLogoImagePosition().

  • See Also
    ScnLib_GetLogoImagePosition()
    ScnLib_SetLogoTextPosition()

Shopping Cart
  • Your cart is empty.
Scroll to Top