问题描述
publicImageGetShapeImageByIndex(Worksheetsheet,intindex){varcurrentIndex=0;varshapes=newList<Shape>();foreach(Shapeiteminsheet.Shapes){shapes.Add(item);}//sorttheshapewithtoppositionvarresult=fromshapeinshapesorderbyshape.TopLeftCell.Rowselectshape;foreach(Shapeiteminresult){if(currentIndex==index){item.Copy();varimage=Clipboard.GetImage();returnimage;}currentIndex++;}returnnull;}
解决方案
解决方案二:
解决方案三:
问题是什么…………
时间: 2024-09-23 01:01:22