Wednesday, August 26, 2009

Inserting a picture into an Excel Spreadsheet using C#

sheet1.Shapes.AddPicture(
path,
true, // this is to copy the picture into the sheet and not link the picture.
true,
##, // how far right you want the picture (in pixels)
##, // how far down you want the picture (in pixels)
##, // width of the picture
## // height of the picture
)

No comments:

Post a Comment