示例#1
0
        private void OnGetTransInfo(int code, DocTransInfo info)
        {
            _outputTxt.ShowInfo(info.Dump());
            var sourceUrl = NIM.DocTransition.DocTransApi.GetSourceFileUrl(info.UrlPrefix, NIMDocTranscodingFileType.kNIMDocTranscodingFileTypePPT);
            var DestUrl   = NIM.DocTransition.DocTransApi.GetPageUrl(info.UrlPrefix, info.DestImageType, NIMDocTranscodingQuality.kNIMDocTranscodingQualityHigh, info.PageNum);

            _outputTxt.ShowInfo(string.Format("源文档:{0}\r\n,图片url{1}", sourceUrl, DestUrl));
        }
示例#2
0
 private void OnTransDocCompleted(int code, DocTransInfo info)
 {
 }