Convert Excel to PNG through the Aspose interface, and the borders at the right and bottom of the cell are lost

Convert Excel to PNG through the Aspose interface, and the borders at the right and bottom of the cell are lost
image.png (3.3 KB)
image.png (15.6 KB)

this is my code

 Workbook workbook = new Workbook("D://Aspose//EPPR_53195//EPPR_53195.xlsx");
 ImageOrPrintOptions options = new ImageOrPrintOptions();
 options.setImageFormat(ImageFormat.getPng());
 options.setOnlyArea(true);
 options.setOnePagePerSheet(true);
 options.setTransparent(false);
 SheetRender render = new SheetRender(workbook.getWorksheets().get(0), options);
 render.toImage(0, "D://Aspose//EPPR_53195//output/EPPR_53195.png");

this is the excel file
EPPR_53195.zip (10.0 KB)

@xhaixia,

Thanks for the template file.

Please try our latest version/fix: Aspose.BarCode for Java 22.5 (Download | Maven). I have tested using your template file and it works fine and as expected. Please find attached the output image file for your reference.
EPPR_53195.png (614 Bytes)