MiniWord
MiniWord copied to clipboard
Not have the PathHelper class or it is missing
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);