MiniWord inserts images like:
ReportData["Photo"] = new MiniWordPicture() { Path="photo.jpg", Width = 200, Height = 150 };
But this gives you no control over styling in the .docx template — which breaks WYSIWYG template authoring.
Instead of using a text placeholder like {{Photo}}, it is better to:
-
Add an actual image placeholder (invisible dummy image) in the Word template
-
Let the C# code replace that image in-place, preserving its size and formatting