ZD Screen Recorder SDK API – ScnLib_SetLogoImage()

ScnLib_SetLogoImageA/W()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) BOOL __stdcall ScnLib_SetLogoImageA(LPCSTR pcszPath);
__declspec(dllimport) BOOL __stdcall ScnLib_SetLogoImageW(LPCWSTR pcwszPath);
C# [DllImport("ScnLib.dll", CharSet = CharSet.Unicode)] public static extern bool ScnLib_SetLogoImageW(string Path);
Basic Public Declare Unicode Function ScnLib_SetLogoImageW Lib "ScnLib.dll" (ByVal Path As String) As Boolean
Delphi function ScnLib_SetLogoImageA(const Path: PAnsiChar): LongBool; stdcall; external 'ScnLib.dll';
function ScnLib_SetLogoImageW(const Path: PWideChar): LongBool; stdcall; external 'ScnLib.dll';
  • Description
    Set the file path of the logo image to be present in the video.

  • Parameters
    • Path [in]
      The file path of the logo image to be present in the video. The supported logo image formats are PNG, BMP, JPG, TIFF, ICO and GIF.
  • Return Value
    If the logo image file is valid and loaded successfully, the return value is TRUE. Otherwise, the return value is FALSE.

  • Remarks
    Use this function to set the file path of the logo image to be present in the video. To hide the logo image in the video, pass a zero value or an empty string as the function parameter. You can call this function even while a recording is in progress.

    The supported logo image formats include PNG, BMP, JPG, TIFF, ICO and GIF. Among these, the PNG format is highly recommended because it supports alpha channels, which allow for transparent backgrounds. This feature is essential for integrating the logo seamlessly into the video, ensuring an unobtrusive and professional appearance.

    In addition to loading the logo image from a file, you have the option to use ScnLib_UpdateLogoImage() to set the logo from a DIB (Device-Independent Bitmaps) stored in RAM. This method allows for more dynamic control of the logo, enabling you to use images generated or modified during runtime. This flexibility in logo management allows for various customization options during video recording or streaming.

    To retrieve the current file path of the logo image, call ScnLib_GetLogoImageA/W().

  • See Also
    ScnLib_IsLogoImagePresent()
    ScnLib_IsLogoTextPresent()
    ScnLib_GetLogoImageA/W()
    ScnLib_SetLogoTextA/W()
    ScnLib_UpdateLogoImage()

Shopping Cart
  • Your cart is empty.
Scroll to Top