|
Anybody see anything wrong with 'setFitHeight' and 'setFitWidth' below?
Did I overlook something?
// create the sheet object
sheet = HSSF_newSheet(book: sht_name);
// set paper size to letter
// set print orientation to landscape
// set fit height/width to 1
ps = HSSFSheet_getPrintSetup(sheet);
HSSFPrintSetup_setPaperSize(ps: LETTER_PAPERSIZE);
HSSFPrintSetup_setLandscape(ps: *ON);
HSSFPrintSetup_setFitHeight(ps: 1);
HSSFPrintSetup_setFitWidth(ps: 1);
Arthur J. Marino
Southern Container Corporation
(631) 297 - 2276
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.