You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by nicolas kakaridis <gr...@hotmail.com> on 2003/03/10 15:25:39 UTC
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
Re: setting column size
Posted by "Andrew C. Oliver" <ac...@apache.org>.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6842
nicolas kakaridis wrote:
> 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
>
>
Re: setting column size
Posted by Stuart Houston <st...@pha.co.za>.
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...@hotmail.com>
To: <po...@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
>
>