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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to