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
close icon

How to hide Polygon shape from add shape dropdown?

Hi,

I am wondering how we can hide Polygon shape from add shape dropdown in Annotation toolbar?


1 Reply 1 reply marked as answer

CK Chinnamunia Karthik Chinna Thambi Syncfusion Team November 21, 2022 12:36 PM UTC

Hi Sriraman,


Refer the below sample to hide the polygon shape annotation from the shape dropdown.


Code snippet:


<style>

    .e-pv-shape-pentagon-container{

        display: none !important;

    }

</style>


Sample:  https://stackblitz.com/edit/angular-g8sbho?file=app.component.html,app.component.ts,app.component.css,index.html



Regards,

CCM Karthik


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