MiniWord icon indicating copy to clipboard operation
MiniWord copied to clipboard

Not have the PathHelper class or it is missing

Open RealTun opened this issue 1 year ago • 0 comments

In the example i see the class PathHelper but when use it not have. It can be edit to var value = new Dictionary<string, object>() { ["Logo"] = new MiniWordPicture() { Path= Path.GetFullPath(pathImage), Width= 180, Height= 180 } }; MiniWord.SaveAsByTemplate(path, templatePath, value);

instead of

var value = new Dictionary<string, object>() { ["Logo"] = new MiniWordPicture() { Path= PathHelper.GetFile("DemoLogo.png"), Width= 180, Height= 180 } }; MiniWord.SaveAsByTemplate(path, templatePath, value);

RealTun avatar Oct 22 '24 02:10 RealTun