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;
原文:http://www.cnblogs.com/janehlp/p/7679748.html