We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我的版本是:MiniWord 0.8.0 系统环境:MacOs 程序环境:.net 6 控制台应用程序 操作流程:二级列表渲染图片不行,渲染文字可以。 渲染图片代码如下: var hpImagesDicList=hpAlarmList.Select(hp => new Dictionary<string, object> { ["Name"] = hp.CameraName, ["Images"] = hp.PicPathArray.Select(picPath=>new MiniWordForeach { Value = new Dictionary<string, object> { ["Image"]=new MiniWordPicture { Path = Path.Combine("TestPic",picPath), Width = 180, Height = 180 } }, Separator = " " }).ToList() }).ToList(); wordDataDictionary.Add("HPImages",hpImagesDicList);
var hpImagesDicList=hpAlarmList.Select(hp => new Dictionary<string, object> { ["Name"] = hp.CameraName, ["Images"] = hp.PicPathArray.Select(picPath=>new MiniWordForeach { Value = new Dictionary<string, object> { ["Image"]=new MiniWordPicture { Path = Path.Combine("TestPic",picPath), Width = 180, Height = 180 } }, Separator = " " }).ToList() }).ToList(); wordDataDictionary.Add("HPImages",hpImagesDicList);
如果渲染成文字,把 ["Image"]=new MiniWordPicture { Path = Path.Combine("TestPic",picPath), Width = 180, Height = 180 }替换成["Image"]="abc"就没问题。
["Image"]=new MiniWordPicture { Path = Path.Combine("TestPic",picPath), Width = 180, Height = 180 }
["Image"]="abc"
如果渲染成图片,会出现:
请求大佬解答,Ps,中文文档里面的QQ验证码请问是多少,加不了,您的Taobao也没有回复
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我的版本是:MiniWord 0.8.0
系统环境:MacOs
程序环境:.net 6 控制台应用程序
操作流程:二级列表渲染图片不行,渲染文字可以。
渲染图片代码如下:
var hpImagesDicList=hpAlarmList.Select(hp => new Dictionary<string, object> { ["Name"] = hp.CameraName, ["Images"] = hp.PicPathArray.Select(picPath=>new MiniWordForeach { Value = new Dictionary<string, object> { ["Image"]=new MiniWordPicture { Path = Path.Combine("TestPic",picPath), Width = 180, Height = 180 } }, Separator = " " }).ToList() }).ToList(); wordDataDictionary.Add("HPImages",hpImagesDicList);
如果渲染成文字,把
["Image"]=new MiniWordPicture { Path = Path.Combine("TestPic",picPath), Width = 180, Height = 180 }
替换成["Image"]="abc"
就没问题。如果渲染成图片,会出现:
请求大佬解答,Ps,中文文档里面的QQ验证码请问是多少,加不了,您的Taobao也没有回复
The text was updated successfully, but these errors were encountered: