title: spreadsheetgear checking HPageBreaks
body: <p>I use spreadsheetgear. </p>
  
  <ol>
  <li>I want to check how many HPageBreaks in my worksheet. </li>
  <li>I want to check the row content PageBreak.</li>
  </ol>
  
  <p>How could I do that. I have tried the following code but something went wrong</p>
  
  <pre><code>SpreadsheetGear.IWorkbook wb = wbvMain.ActiveWorkbook;
  IWorksheet wsPo4Printing = wb.Worksheets["Testing"];
  pageCount = wsPo4Printing.HPageBreaks.Count;
  </code></pre>
  
  <p>The pageCount always return 0 even I have many data on this worksheet.</p>
  
  <p>Thanks,</p>
  
  <p>LVD</p>