Page 1 of 1

Pan and zoom

Posted: Thu Aug 31, 2017 8:20 pm
by vincent
Hi, I'm currently trying out the trial version and I'm looking for a set of tools which can handle large images with ease. I need to be able to draw on images much like the annotations functions. I hope I can use this software to implement certain functions:

- Is is possible to set the right-mouse button as a pan button (so if user presses the rightmousebutton panning is turned on) then at the same time allow the mousewheel to act as zoom in-out at focused on the mouse position?

I think these features are a common standard in graphical applications but I didn't seem to get it to work in the provided samples (or I just havent opened the correct one yet).

Then finally, I was wondering about the OCR module, I have no real use for it (yet) however, if OCR allows searching for specific patterns instead of text then that would be really awesome! I would like to scan 200+ schematic images for symbols and mark them with an annotation.

I hope you can help me with these questions!

Re: Pan and zoom

Posted: Fri Sep 01, 2017 11:03 am
by Alex
Hello,
Is is possible to set the right-mouse button as a pan button (so if user presses the rightmousebutton panning is turned on) then at the same time allow the mousewheel to act as zoom in-out at focused on the mouse position?
Yes, you can change the action button of visual tool using the VisualTool.ActionButton property:
https://www.vintasoft.com/docs/vsimagin ... utton.html

Here is a code snippet:

Code: Select all

Pan pan = new Pan();
pan.ActionButton = System.Windows.Forms.MouseButtons.Right;

Then finally, I was wondering about the OCR module, I have no real use for it (yet) however, if OCR allows searching for specific patterns instead of text then that would be really awesome! I would like to scan 200+ schematic images for symbols and mark them with an annotation.
Our OCR engine is based on Tesseract OCR. Please check if Tesseract OCR supports functionality, which is necessary for you.

Best regards, Alexander

Re: Pan and zoom

Posted: Fri Sep 01, 2017 2:06 pm
by vincent
Thanks Alex for your quick reply, my initial tests look promising so I'm now going to replace some of our controls with these to see if problems arise, if any. For the OCR part, we don't need it right now since our clients don't have this feature yet but nice to have. I will look into the Tesseract OCR project on GitHub in a later stadium.

Thanks again