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.
Up arrow icon