Thank you. It has also the getAnchor method with the getPreferredSize. But they 
return the same instance of the HSSFAnchor. Could this even be a bug in POI? We 
are using 3.8 BETA 5.

-----Original Message-----
From: Mark Beardsley [mailto:[email protected]] 
Sent: 22. maaliskuuta 2012 9:11
To: [email protected]
Subject: RE: Excel image sizes

Ah! Not trying to dodge the question here but you may have to wait for someone 
else to post. I have never used the getPreferredSize() method before to 
retrieve the image's client anchor so am not sure what it does actually return 
for you. In the past, it was necessary to iterate through the Escher records to 
get at the anchor and that was the method I always used; I simply do not know 
if both get you to the same information, sorry. If I have the time today, I 
will play with some code to answer that question and will post again here.

--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/Excel-image-sizes-tp5582506p5584902.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional 
commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to