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;
janehlp 2017-10-17 04:11 原文
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;