/// <summary> /// 设置要显示的本地图片文件 /// </summary> /// <param name="hPdoHandle">标示句柄</param> /// <param name="picFilePath">图片文件路径</param> /// <returns>成功返回PDO_OK,失败返回错误码</returns> public UInt32 Pdo_DisplayPicFileSet(UInt32 hPdoHandle, string picFilePath) { TPDO_FILE_PATH tPicFilePath = new TPDO_FILE_PATH(); tPicFilePath.szFilePath = picFilePath; MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDrawSDKProtocol Pdo_DisplayPicFileSet hPdoHandle:" + hPdoHandle + ",PicFilePath:" + picFilePath); UInt32 retVal = IVXDrawSDKProtocol.Pdo_DisplayPicFileSet(hPdoHandle, tPicFilePath); //if (0 != retVal) //{ // // 调用失败,抛异常 // CheckError(); //} MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDrawSDKProtocol Pdo_DisplayPicFileSet ret:" + retVal); return(retVal); }
public static extern UInt32 Pdo_DisplayPicFileSet(UInt32 hPdoHandle, TPDO_FILE_PATH tPicFilePath);