poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sushama <sushama.shring...@rave-tech.com>
Subject Insert Image in excel Sheet
Date Thu, 09 Jun 2005 18:07:19 GMT
Hi,
I am trying to put image in excel file using Apache POI.
but i am not able to get as which verion of POI i shd use. i got the code for 
the same but its not working out.
Can anybody help me with this?


 HSSFClientAnchor anchor;
    anchor = new HSSFClientAnchor(0,0,0,255,(short)2,2,(short)4,7);
    anchor.setAnchorType( 2 );
    patriarch.createPicture(anchor, loadPicture
( "src/resources/logos/logoKarmokar4.png", wb ));

when i use above code it says setAnchorType(),loadPicture() methods does not 
exist.
I am using poi-2.5.1-final-20040804.jar which dosent have these methods.


Thanks,
Sushama


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Mime
View raw message