SfImageEditor allows you to enable or disable the items in toolbar
Step 1: Create image editor sample with all necessary assemblies.
Please refer the below link to create a simple SfImageEditor sample along with the ways to configure it.
Step 2: SetToolbarItemVisibility method is used to hide/show items in toolbar. Specify the name of the item in SetToolbarItemVisibility method as arguments, and set visibility value as true/false.
The following code snippet illustrates the way to this method,
You can also specify the single item or multiple items in SetToolbarItemVisibility method as arguments.
The list of items in toolbar that can be hidden/shown by using SetToolbarItemVisibility method are follows.
text, redo, undo, save, transform, rotate, shape, crop, path, circle, reset, and arrow
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|