色婷婷狠狠18禁久久YY,CHINESE性内射高清国产,国产女人18毛片水真多1,国产AV在线观看

使用VB.NET向Excel插入圖片?

江奕云2年前14瀏覽0評論

圖片插入方法:

ImportsSpire.Xls

NamespaceInsertImage

FriendClassProgram

SharedSubMain(ByValargs()AsString)

'CreateWorkbook

DimworkbookAsNewWorkbook()

DimsheetAsWorksheet=workbook.Worksheets(0)

'InsertImage

sheet.Pictures.Add(1,1,"E:\work\sample.jpg")

'SaveandLaunch

workbook.SaveToFile("ExcelImage.xlsx",ExcelVersion.Version2010)

System.Diagnostics.Process.Start("ExcelImage.xlsx")

EndSub

EndClass

EndNamespace