1. 程式人生 > >aspose.cells 插入圖片

aspose.cells 插入圖片

ict win add placement logs tin pan sheet cnblogs

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;

aspose.cells 插入圖片