We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert Excel Range to Image and insert into word

hello, i am using SheetRender to convert a excel’s range to image,and insert it into word.
the code like below:

sheet.PageSetup.PrintArea = range.Address;
var options = new ImageOrPrintOptions()
{
ImageType = Aspose.Cells.Drawing.ImageType.Jpeg,
OnlyArea = true
};
SheetRender sr = new SheetRender(sheet, options);
var stream = new MemoryStream();
sr.ToImage(0, stream);

builder.InsertImage(stream);

but the result of the image is like this
sourceexcel.png (17.6 KB)
word.png (78.6 KB)
how can i solve?

@niyeshiw,
You may share the runnable sample code, template Excel file, program output and expected output created by MS Office. We will run your code here to reproduce this issue and share our feedback accordingly.