poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart Houston" <stuart.hous...@pha.co.za>
Subject Re: setting column size
Date Mon, 10 Mar 2003 15:15:33 GMT
Hi

sheet.setColumnWidth((short)iCell,(short)(sColumnValue)*256));

you multiply it by 256 to obtain the correct character width

Cheers
Stuart

----- Original Message -----
From: "nicolas kakaridis" <gr_nico@hotmail.com>
To: <poi-user@jakarta.apache.org>
Sent: Monday, March 10, 2003 4:25 PM
Subject: setting column size


> Hello,
>
> Do you know if there is a manner to set the column size to the proper
width,
> just like in double cliking to a column's border.
>
> Or if someone unterstands the metrics used by setColulmnWidth.
> Thanks
>
> _________________________________________________________________
> The new MSN 8: advanced junk mail protection and 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>
>


Mime
View raw message