How to set Tab Functionality on Annotation

Questions, comments and suggestions concerning VintaSoft Annotation .NET Plug-in.

Moderator: Alex

Post Reply
dixit.patel1
Posts: 14
Joined: Fri Feb 02, 2024 1:20 pm

How to set Tab Functionality on Annotation

Post 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.
Alex
Site Admin
Posts: 2319
Joined: Thu Jul 10, 2008 2:21 pm

Re: How to set Tab Functionality on Annotation

Post by Alex »

Hello,

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

Best regards, Alexander
dixit.patel1
Posts: 14
Joined: Fri Feb 02, 2024 1:20 pm

Re: How to set Tab Functionality on Annotation

Post by dixit.patel1 »

Hi,

How to work Tab Key on Dynamic Annotation.
Alex
Site Admin
Posts: 2319
Joined: Thu Jul 10, 2008 2:21 pm

Re: How to set Tab Functionality on Annotation

Post by Alex »

Do you want to use Tab-key for navigating in "Annotation" menu?

Best regards, Alexander
dixit.patel1
Posts: 14
Joined: Fri Feb 02, 2024 1:20 pm

Re: How to set Tab Functionality on Annotation

Post by dixit.patel1 »

Hi,

Yes, How to Tab Key Work on HighlightAnnotation and ReferencedImageAnnotation.
Alex
Site Admin
Posts: 2319
Joined: Thu Jul 10, 2008 2:21 pm

Re: How to set Tab Functionality on Annotation

Post 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
dixit.patel1
Posts: 14
Joined: Fri Feb 02, 2024 1:20 pm

Re: How to set Tab Functionality on Annotation

Post 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?
Alex
Site Admin
Posts: 2319
Joined: Thu Jul 10, 2008 2:21 pm

Re: How to set Tab Functionality on Annotation

Post 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
dixit.patel1
Posts: 14
Joined: Fri Feb 02, 2024 1:20 pm

Re: How to set Tab Functionality on Annotation

Post 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.
Alex
Site Admin
Posts: 2319
Joined: Thu Jul 10, 2008 2:21 pm

Re: How to set Tab Functionality on Annotation

Post 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
Post Reply