I'm trying to modify one of your sample (..\GdPicture.NET 14\Samples\WinForm\C#\OCR\OCR.sln) to handle multiple pages and process the currently open page from my PDF but currently it only displays one page and when right clicking on the viewer, the navigation menu is disabled as it is only load one page from a multi-page pdf.
What I want to achieve is, process the currently open page and use the navigation context menu to go from one page to the other but to no avail. If I use the GdViewer.LoadFromFile which enables the navigation menu and after a bit of tweaking, it appears to be processing the currently opened page but it is no longer updating the preview after applying a filter such as treshold.
Can you explain how do I sync the viewer with the GdPicturePDF so that both the navigation and the previewing of the "image" of the currently pdf page displayed is updated accordingly.
You have multiple methods in our GdViewer class to update/refresh the displayed page.
https://guides.gdpicture.com/content/Gd ... edraw.html
If you are using GdPicturePDF or GdPictureImaging to modify your document you will need to use the following methods to preview your pages in our viewer:
https://guides.gdpicture.com/content/Gd ... rePDF.html
https://guides.gdpicture.com/content/Gd ... Image.html
Unless you have saved the document locally with the applied modifications to the document, GdViewer.LoadFromFile will simply display the document you passed to it.
Let me know if this helps.
Who is online
Users browsing this forum: No registered users and 1 guest