Hi,everyone:
  How can I set the column length to the content length.
I have used this method:
String content = "blah,blah,balh";
int length = content.getBytes().lenght;
sheet.setColumnWidth((short)1, (short)length*256);

But, I think this is very boring. Is there a function, which I can call and it will 
set the perfect column length to equal to the most widest content length.

Regards

Alan

Reply via email to