下面这是我的代码,可以帮忙解决一下吗,谢谢 。
/// <summary>
/// 往指定书签处插入图片
/// </summary>
/// <param name="data"></param>
/// <param name="image"></param>
/// <param name="paragraph"></param>
public void AppendPicture(BookmarksNavigator navigator, Image image, Paragraph paragraph)
{
//为段落添加图片
DocPicture picture = paragraph.AppendPicture(image);
//把含有图片的段落插入到书签位置
navigator.InsertParagraph(paragraph);
}