As we all know, there are serveral args(row1, col1, row2, col2, dx1, dy1, dx2, dy2) to describe the dimension and location of a picture in an excel file.
case 1: A picture cover more then one cell, and row1 != row2 and col1 != col2 <http://apache-poi.1045710.n5.nabble.com/file/t340543/864bdce2gy1fq6r057s0qj20tg0fw7cs.jpg> in this case, we can get the correct picture size use method org.apache.poi.ss.util.ImageUtils#getDimensionFromAnchor case 2: A picture cover only one cell (or one row or one column), and the row1 == row2 col1 == col2 like this <http://apache-poi.1045710.n5.nabble.com/file/t340543/864bdce2gy1fq6r1323lvj20pc0gen5p.jpg> in this case ,the method org.apache.poi.ss.util.ImageUtils#getDimensionFromAnchor will return a wrong dimension of the picture. -- Sent from: http://apache-poi.1045710.n5.nabble.com/POI-Dev-f2312866.html --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
