HSSFClientAnchor anchor = (HSSFClientAnchor)getAnchor(); Dimension size = getImageDimension(); double scaledWidth = size.getWidth() * scale; double scaledHeight = size.getHeight() * scale;
HSSFClientAnchor anchor = (HSSFClientAnchor)getAnchor(); Dimension size = getImageDimension(); double scaledWidth = size.getWidth() * scale; double scaledHeight = size.getHeight() * scale;
int col2 = anchor.getCol2(); if(row1 == cell.getRowIndex() && col1 == cell.getColumnIndex()){ dimension = pic.getImageDimension(); this.anchor = anchor; this.bytes = data.getData();