Hello,
is it possible to highlight the rectangle of a block via API?
Scenario would be to open an image file (PDF), query coordinates for the needed block regions from a database and then select/hightlight the regions in ImageViewer.
Then change the region size with Imageviewer and update the database with the new coordinates.
コメント
4件のコメント
Hi,
You can connect FRPage of your document to ImageViewer, then add a region to this page with coordinates from database and this region will appear in the ImageViewer. You will be able to change the size of this region in ImageViewer and all the changes will be synchronized with your document. You can follow all the changes using OnMouseButtonUp event and update the database with new coordinates.
Hi,
thank you for your answer.
How to connect the FRPage object to the ImageViewer?
I am using your sample "VisualComponents".
Edit: I only know how to connect FRDocument object to ImageViewer using Synchronizer (setting the document property of Synchronizer object).
Using your Sample "Visual Components", I open a pdf and add a block programmatically, but the rectangle isn't drawed in the ImageViewer control.
Here is how I do it:
The block coordinates are valid.
Solution: If the same FRPage is already connected to ImageViewer, you have to set the property to null before setting the FRPage (now with existing blocks) again.
サインインしてコメントを残してください。