Just evaluating gdPicturePro and gdViewer. I need to be able to open and display multipage TIFFs and PDFs and to highlight certain areas on certain pages. I have experimented with DrawFillRectangle() and have had a little success - I can open and display a file in the viewer and step back and forth thru the pages. I can display a highlight rectangle with:
- Code: Select all
Imaging1.SetNativeImage(gdviewer1.GetNativeImage);
Imaging1.DrawFillRectangle(0, 0, 300, 500, Imaging1.argb(180, r,g,b), true);
gdviewer1.SetNativeImage(Imaging1.GetNativeImage);
Of course now though, I can no longer step thru pages (cos I only have the single native image in the viewer). I don't want the highlights to be permanent (not saved to file) but I want to be able to set highlights when the file is opened and for them to be visible as I step thru the pages. Is there an easy way of doing this or do I have to implement a whole separate paging mechanism based on the above ?
Regards
Dave
