We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to switch annotation mode from shape annotation to highlight?

Hi,

I have a custom toolbar buttons to add annotations. Please refer this url for sample code: https://stackblitz.com/edit/angular-dxub1a-wynhxf?file=app.component.html,app.component.ts and refer the attached video.

In the video, I click on line annotation button and then click on highlight annotation button. The expectation is it should set the highlight annotation mode. But it is not getting turned on. It still inserts the line annotation.


Attachment: switchannotationmode_96cbfa0a.zip

3 Replies 1 reply marked as answer

CK Chinnamunia Karthik Chinna Thambi Syncfusion Team March 6, 2023 12:33 PM UTC

We were able to reproduce the reported issue  “Programmatically switching the annotation mode to highlight from shape annotation is not working” and suspect this to be a defect. We will validate it and update further details in two business days.



CK Chinnamunia Karthik Chinna Thambi Syncfusion Team March 8, 2023 01:44 PM UTC

We have confirmed the issue "Programmatically switching the annotation mode to highlight from shape annotation is not working" and logged it as a defect. The fix for the issue will be available in our upcoming weekly NuGet release on March 29, 2023. You can track the status of the issue through the following link.


Feedback link: Programmatically switching the annotation mode to highlight from shape annotation is not working | Issue Feedback


Disclaimer: "Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization."



CK Chinnamunia Karthik Chinna Thambi Syncfusion Team March 30, 2023 06:03 AM UTC

We have fixed the reported issue "Programmatically switching the annotation mode to highlight from shape annotation is not working" and the fix for the reported issue was included in our latest weekly release v21.1.37. Kindly upgrade to that version to get the issue resolved.

 

Packages:   

 

CDN Links:

https://cdn.syncfusion.com/ej2/21.1.37/dist/ej2.min.js

https://cdn.syncfusion.com/ej2/21.1.37/material.css


Marked as answer
Loader.
Live Chat Icon For mobile
Up arrow icon