Row Height

Topics: Developer Forum, User Forum
Nov 24, 2008 at 3:16 PM
Hello There,

I know this might be a stupid question but I could not find any info on how to adjust the height of a row.
I looked at all the example but it is not mentioned.

Thank you,
Hass
Developer
Nov 24, 2008 at 6:20 PM
Row number 5 becomes 30 points high after this:

$excel = new PHPExcel();
$sheet = $excel->getActiveSheet();

$sheet->getRowDimension(5)->setRowHeight(30);

Find more methods in the API. Here is explained where to find the API:
http://www.codeplex.com/PHPExcel/Thread/View.aspx?ThreadId=30931

Nov 24, 2008 at 8:26 PM
Thank you very much for the quick reply, I followed the thread you sent but there was not API info, Is it removed or is it me?
Nov 24, 2008 at 8:32 PM
I found what I was looking for.
Not all the packages include the API documentation.

Thank you
Developer
Nov 24, 2008 at 8:42 PM
You are right.
  • Only the bi-monthly official releases (PHPExcel 1.6.4 being the latest) do include the description of the API. These are found under the "Releases" tab
  • The individual source code check-outs generated on a daily basis do not contain the description of the API. These are found under the "Source Code" tab.