Use GdViewer with PDF and Previewing Image Clean up
Posted: Sat Mar 21, 2020 1:59 pm
Hi,
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.
Thanks.
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.
Thanks.