poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kgiovanna <karla.g.escala...@gmail.com>
Subject Re: set Excel print fit to page width
Date Fri, 28 Jun 2013 21:20:28 GMT
Hi, 

Not sure if you ever solve this issue, I had the same issue and found my
answer in here:
http://www.roseindia.net/jsp/poi/repeatingRowsAndColums.shtml

pretty much if you just want to repeat the first row as the header you
should do something like this:

workbook.SetRepeatingRowsAndColumns(0, -1, -1, 0, 0);

to just set the repeating row. (-1 is like using null it will be ignored)



--
View this message in context: http://apache-poi.1045710.n5.nabble.com/set-Excel-print-fit-to-page-width-tp2839699p5713142.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message