Page 1 of 1

How to set Tab Functionality on Annotation

Posted: Thu Feb 15, 2024 7:41 am
by dixit.patel1
Hi,

How to set Tab Functionality by Default Load Annotation and Dynamic Annotation on Annotation Viewer.

Please provide to solution above query regarding.

Re: How to set Tab Functionality on Annotation

Posted: Thu Feb 15, 2024 8:50 am
by Alex
Hello,

I am not sure I have understood your needs. Please send more info.

Best regards, Alexander

Re: How to set Tab Functionality on Annotation

Posted: Thu Feb 15, 2024 9:59 am
by dixit.patel1
Hi,

How to work Tab Key on Dynamic Annotation.

Re: How to set Tab Functionality on Annotation

Posted: Thu Feb 15, 2024 10:49 am
by Alex
Do you want to use Tab-key for navigating in "Annotation" menu?

Best regards, Alexander

Re: How to set Tab Functionality on Annotation

Posted: Thu Feb 15, 2024 11:32 am
by dixit.patel1
Hi,

Yes, How to Tab Key Work on HighlightAnnotation and ReferencedImageAnnotation.

Re: How to set Tab Functionality on Annotation

Posted: Thu Feb 15, 2024 2:10 pm
by Alex
Why do you want to navigate between buttons in "Annotation" menu using keyboard? Do you want to use keyboard only? If yes, how do you plan to build the annotation on image in viewer?

Best regards, Alexander

Re: How to set Tab Functionality on Annotation

Posted: Tue Feb 20, 2024 9:37 am
by dixit.patel1
We are building Annotation dynamically while loading page. We want navigation using Tab key. We will use Keyboard and Mouse both for annotation selection.
Here, I have another question like How can we set the focus on annotation?

Re: How to set Tab Functionality on Annotation

Posted: Tue Feb 20, 2024 10:06 am
by Alex
Hello,
We are building Annotation dynamically while loading page. We want navigation using Tab key. We will use Keyboard and Mouse both for annotation selection.
Thank you for information. Now annotation menu in web document viewer cannot be navigated using Tab key. We will try to implement necessary functionality in the future.


Here, I have another question like How can we set the focus on annotation?
You can set the focused annotation in annotation viewer using WebAnnotationVisualToolJS.set_FocusedAnnotationView function.

Here is code snippet:

Code: Select all

webAnnotationViewer1.get_AnnotationVisualTool().set_FocusedAnnotationView(focusedAnnotationView);
Best regards, Alexander

Re: How to set Tab Functionality on Annotation

Posted: Tue Feb 20, 2024 11:18 am
by dixit.patel1
Thank u for Replay.

But we want to Tab Key navigate to annotation in Windows Form.
Set Focus solution is required for Windows Form.

Re: How to set Tab Functionality on Annotation

Posted: Tue Feb 20, 2024 12:10 pm
by Alex
But we want to Tab Key navigate to annotation in Windows Form.
VintaSoft Imaging .NET SDK does not have ready-to-use annotation toolbar but VintaSoft Annotation Demo has AnnotationsToolStrip control that represents annotation toolbar. Do you use AnnotationsToolStrip control from VintaSoft Annotation Demo?

If yes, source codes of AnnotationsToolStrip control can be found in file "[SdkInstallPath]\VintaSoft\Imaging .NET v12.3\Examples\WinForms\CSharp\AnnotationDemo\DemosCommonCode.Annotation\AnnotationsToolStrip.cs". Please update source codes and add support for navigation between buttons using Tab-key.

If no, you have custom control - please develop your control by yourself, we do not provide custom programming service.


Set Focus solution is required for Windows Form.
You can set focused annotation in WinForms annotation viewer using the AnnotationViewer.FocusedAnnotationView property. Please read more info here: https://www.vintasoft.com/docs/vsimagin ... Forms.html

Best regards, Alexander