1

Existing WPF application has a documentviewer to show different types of data ( Images/ WordFiles ).

I required to add pagination on this documentviewer. user can also type page number to go on any specific page.

I searched on google a lot but not got any useful information.

If can we extend documentviewer functionality.. how can we achieve the required.

Rohit
  • 69
  • 1
  • 7
  • What have you tried so far? Show the relevant parts of your code, and explain where your specific problem is. – Clemens Apr 15 '15 at 11:26
  • Exisiting code is there... You can consider the below example to open word document in document viewer .. if I open large document I required Pagination for that.. https://code.msdn.microsoft.com/office/csvstoviewwordinwpf-db347436 – Rohit Apr 15 '15 at 11:32

1 Answers1

0

This control should be used more likely used in your case:

<FlowDocumentPageViewer>
        <FlowDocument>
           <Paragraph>
                 //your text here
            </Paragraph>         
        </FlowDocument>
    </FlowDocumentPageViewer>
Dragos Stoica
  • 1,753
  • 1
  • 21
  • 42
  • Thanks for replying @Dragosh Stoica... there is a lot code written with FixedDocument variable and It will take a lot efforts to change the controler... It will be great if we can give pagination in documentviewer control itself... can we extend it's functionality ...? – Rohit Apr 16 '15 at 12:36