我使用addPicture()添加png正常,但是添加svg显示Method threw 'java.lang.OutOfMemoryError' exception.
方法如下:
IShape iShape = iWorksheet.getShapes().addPicture(cappSpreadjsFileInfoObj.getPosition(),resourceStream, ImageType.SVG,
iWorksheet.getRange(Integer.valueOf(startRow), Integer.valueOf(startColumn)));
iShape.setHeight(150);
iShape.setWidth(100); |