title: Get page number from Word document
body: <p>I'm using <a href="https://www.gemboxsoftware.com/document" rel="nofollow noreferrer">GemBox.Document</a> and I need to find out on what page is my bookmark located inside the Word document. Can this be done?
  If not, then can I find out the page on which some specific text is located?</p>
  
  <p>I can find both bookmark and text, but I don't see any option that lets me get the page number from that.</p>
  
  <pre class="lang-cs prettyprint-override"><code>DocumentModel document = DocumentModel.Load("My Document.docx");
  Bookmark bookmark = document.Bookmarks["My Bookmark"];
  ContentRange content = document.Content.Find("My Text").First();
  </code></pre>