本帖最后由 hageen_dazs 于 2014-09-30 10:06:50 编辑

解决方案 »

  1.   

    不太懂你的意思
    C# 对Word文件添加水印图片并设置编辑密码
    ///初始化文档对象
    Word.Document WordDoc= wordAppObj.Documents.Open(ref _filename, ref missing, ref isReadOnly, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref isVisible, ref missing, ref missing, ref missing, ref missing);
    ///根据文档对象的高度与宽度生成文档背景的图片
    string bkpic = CreateBackGroup(WordDoc.ActiveWindow.Height, WordDoc.ActiveWindow.Width, picFilePath);
    Word.Shape oShape;
    ///创建背景水印图征
    WordDoc.ActiveWindow.View.Type = Word.WdViewType.wdOutlineView;
                    WordDoc.ActiveWindow.View.SeekView = Word.WdSeekView.wdSeekPrimaryHeader;
                    WordDoc.ActiveWindow.ActivePane.Selection.InsertAfter("");
    object top = 30;
    ///将背景水印图片插入到Word
    oShape = WordDoc.ActiveWindow.ActivePane.Selection.HeaderFooter.Shapes.AddPicture(bkpic, ref missing, ref missing, ref missing, ref top, ref missing, ref missing, ref missing);
    oShape.WrapFormat.Type = Word.WdWrapType.wdWrapInline;
                    oShape.ZOrder(Microsoft.Office.Core.MsoZOrderCmd.msoSendBehindText);
      

  2.   

    直接将word文件保存为网页文件,在一个文件夹中可得到所有的图片,不知能否帮到你~~~