Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
140847 | Nov 11,2018 06:20 AM UTC | Nov 12,2018 08:52 AM UTC | Xamarin.Forms | 1 |
![]() |
Tags: SfImageEditor |
CropEditor.SetToolbarItemVisibility("text,path,shape,transform,reset,undo,redo,save,Ok,Cancel",false); |
private void ToolbarSettings_ToolbarItemSelected(object sender, ToolbarItemSelectedEventArgs e)
{
if (e.ToolbarItem.Text == "Save"||e.ToolbarItem.Name=="Ok")
{
try
{
Device.BeginInvokeOnMainThread(() =>
{
CropEditor.Save(".png", new Size(500, 500));
});
}
catch (Exception ex)
{
}
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.