ScnLib_SetLogoImage()

ScnLib_SetLogoImageA/W()

标准版专业版超级版游戏版
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';
  • 描述
    设置要添加到视频中的徽标图像的文件路径。

  • 参数
    • Path [in]
      要添加到视频中的徽标图像的文件路径。支持的徽标图像格式为 PNG、BMP、JPG、TIFF、ICO 和 GIF。
  • 返回值
    如果您的徽标图像文件路径有效且加载成功,则返回值为 TRUE。否则,返回值为 FALSE。

  • 备注
    调用此函数设置要添加到视频中的徽标图像的文件路径。允许在录制过程中调用此函数。向此函数传递零值或空字符串可以隐藏视频中的徽标图像。除了从文件中加载您的徽标图像外,您还可以调用 ScnLib_UpdateLogoImage() 通过内存中的 DIB 位图设置您的徽标图像。要获取当前徽标图像文件路径,请调用 ScnLib_GetLogoImageA/W()

  • 参见
    ScnLib_IsLogoVisible(), ScnLib_GetLogoImageA/W(), ScnLib_SetLogoTextA/W(), ScnLib_UpdateLogoImage()

下载 SDK API 总览