spreadsheetgear checking HPageBreaks -


i use spreadsheetgear.

  1. i want check how many hpagebreaks in worksheet.
  2. 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

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -