首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

C#怎么取得数据编辑框中的图插入word

2013-11-11 
C#如何取得数据编辑框中的图插入wordC#请教如何取得数据编辑框中的图插入word,以下的图是从数据库中读取出

C#如何取得数据编辑框中的图插入word
C#请教如何取得数据编辑框中的图插入word,以下的图是从数据库中读取出来的
C#怎么取得数据编辑框中的图插入word
请大家帮下,现在就是取不到当前对话框中图片的路径
                //添加图片
  WordDoc.Bookmarks.get_Item(ref BookMark[6]).Select();
                    app.Selection.ParagraphFormat.Alignment = Word.WdParagraphAlignment.wdAlignParagraphCenter;
                    app.Selection.InlineShapes.AddPicture(imgpath, ref missing, ref missing, ref missing);
                    app.Application.ActiveDocument.InlineShapes[1].Width = 400;
                    app.Application.ActiveDocument.InlineShapes[1].Height = 200;
[解决办法]
Bitmap bmp;
bmp.Save(@"f:\001.jpg")

热点排行