Usually, when you add an image to a sheet, you pass an instance of the
HSSFClientAnchor class and I think that you need to set the type of the
anchor appropriately. Not too sure about which one would be best but I
reckon that either HSSFClientAnchor.DONT_MOVE_AND_RESIZE or
HSSFClientAnchor.MOVE_DONT_RESIZE would probably be what you are after. All
you would need to do is call the setAnchorType() method on the
HSSFClientAnchor object and pass either of these two constants.

Yours

Mark B


deep4u wrote:
> 
> Hello,
>        I am new to this Library. Its working great, i used logo (image) in
> the excel sheet. with the auto sizing the image also expanding and
> contracting according to that column data. 
> 
> Can i keep the image irrespective of the column size? 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/autosize-in-Excel-irrespetive-of-image-tp24604961p24609079.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]

Reply via email to