Hi Helmut,
Thanks for contacting syncfusion support.
Query 1: "Is it possible to hide some ToolbarItems e.g. "Save" ?? "
Yes, this can be achieved with the help of image editor "SetToolbarItemVisibility()" method. We need to specify which toolbar menu item needs to be hid from the toolbar as like below.
|
public Sample()
{
imgmodel = new ImageEditModel();
this.BindingContext = imgmodel;
InitializeComponent();
Editor.SetToolbarItemVisibility("save", false); // "save" menu item will hide and "false" represents the visibility - hide
} |
By using this method, we can hide more than one toolbar item by separating comma between the toolbar menu items name as like below,
Editor.SetToolbarItemVisibility("save,reset,ok", false); // Multiple toolbar items can be hid
|
Note: The list of toolbar menu items available in image editor: “
text, path, shapes, transform, rectangle, circle, arrow, flip, crop, rotate, reset, undo, redo and save “ . You can hide any of toolbar menu item from this list using SetToolbarItemVisibility() method.
We have created simple image editor sample which meets your requirement and please get it from the below link,
http://www.syncfusion.com/downloads/support/directtrac/general/ze/ImageEdit-1789046225
Query 2: "How to change Text/Icon color based on the background color "
Currently, image editor control doesn’t have support for “Changing Text/Icon color based on the background color”.
We have already logged feature request for this and it can be tracked through our feature management system,
Link- http://www.syncfusion.com/support/directtrac/features/ XAMARIN-11071
This feature will be included in any of our upcoming release.
Please get back to us if you need any other assistance.
Regards,
Mohana V