aspose.cells 插入图片

int iIndex = worksheet.Pictures.Add(1,1,"d:\\1.jpg");
Aspose.Cells.Drawing.Picture pic = worksheet.Pictures[iIndex];
pic.Placement=Aspose.Cells.Drawing.PlacementType.FreeFloating;
pic.BorderLineColor=Color.Red;
pic.BorderWeight = 5;

 

posted on 2017-10-17 04:11  janehlp  阅读(5546)  评论(0编辑  收藏  举报