C#中如何插入照片到Excel

 Excel.Worksheet xSheet=(   Excel.Worksheet)xBook.Sheets[1]; 
  xSheet.Shapes.AddPicture("D:\\tt.bmp", MsoTriState.msoFalse  ,
  MsoTriState.msoTrue,10,10,150,150);

posted @ 2010-11-18 14:23  落冰  阅读(396)  评论(0编辑  收藏  举报