Hi, thanks for your answer. I already knew this methods the question was which values will set them to the max height and width.
I tried several values and if the value is to big the cell shrinks suddenly. -------- Original-Nachricht -------- > Datum: Thu, 11 Sep 2008 16:34:39 +0100 (BST) > Von: Nick Burch <[EMAIL PROTECTED]> > An: POI Users List <[email protected]> > Betreff: Re: setting excel cells to a specific width and height in pixel > On Thu, 11 Sep 2008, Thorsten Bux wrote: > > does anybody know how to set the width and height of an excel cell to a > > specific size in pixel? > > I think the two methods you'll want are: > http://poi.apache.org/apidocs/org/apache/poi/hssf/usermodel/HSSFRow.html#setHeightInPoints(float) > http://poi.apache.org/apidocs/org/apache/poi/hssf/usermodel/HSSFSheet.html#setColumnWidth(short,%20short) > > > also i would like to know how to set a cell to the max. possible height > > and width. > > Try giving those two methods really large values? (Not sure, haven't > tried) > > Nick > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
