所有代码在asp.net MVc中已经实现
DocumentBuilder builder = new DocumentBuilder(doc);
Shape shape = new Shape(doc, ShapeType.Image);shape.ImageData.SetImage(Server.MapPath("~/Content/ace/images/gallery/image-1.jpg"));
shape.Width = 70;
shape.Height = 70;
shape.HorizontalAlignment = HorizontalAlignment.Right; //靠右对齐
builder.MoveToBookmark("myname");
builder.InsertNode(shape);
Bookmark myname = doc.Range.Bookmarks["Comment"];
myname.Text = "";
doc.Range.Bookmarks["Comment"].Remove();