Hi,
I'm using MigraDoc v1.32 with the WPF build.
Is there a way to 'know' the page number of a section (or paragraph, or anything!) of a Document at runtime, so I can tell the DocumentPreview to navigate there?
For example, I build my Document and send it to the DocumentPreview which defaults to displaying the first page. This is good, but I want to navigate to, say, a particular Paragraph which could be on page 5 or 6 ( myDocumentPreview.Page = 5; ) but I don't know the exact page number until after I display the Document.
Is this possible or a work-around?
Thanks in advance, Brad.
|