spreadsheetgear checking HPageBreaks -
i use spreadsheetgear.
- i want check how many hpagebreaks in worksheet.
- i want check row content pagebreak.
how that. have tried following code went wrong
spreadsheetgear.iworkbook wb = wbvmain.activeworkbook; iworksheet wspo4printing = wb.worksheets["testing"]; pagecount = wspo4printing.hpagebreaks.count;
the pagecount return 0 have many data on worksheet.
thanks,
lvd
i assume looking pagecount based on natural or automatic page breaks. iworksheet.hpagebreaks/vpagebreaks collections take account manual page breaks--not automatic--and return 0 if no manual page breaks present in worksheet.
spreadsheetgear 2012 not support determining automatic page breaks occur. automatic breaks not determined until begin printing, discarded after print job completes, there's no way spreadsheetgear give information, unfortunately.
Comments
Post a Comment