Thread

Posted on Wed Apr 18 20:27:59 2007 by bleepster
how to set font within this class?

I need to change the font (actually color) of the text written to a spreadsheet element.

Something like this:

my $format1 = $book->add_format() $format1->set_font->{ColorIndex} = 3

Is there a set_font method or some other that allows changing color of element?

Thanks

Direct Responses: 4931 | Write a response
Posted on Thu Apr 19 17:40:52 2007 by jmcnamara in response to 4928
Re: how to set font within this class?

You can set the set the font colour using the color() Format method. See the "Format methods and Format properties" section of the documentation and the sample programs in the examples directory of the distro.

Please post any follow-ups to the Spreadsheet::WriteExcel Google-Group.

John.
--
Write a response