async void OnCropButtonClick(object sender, EventArgs e)
        {
            if (!SDKUtils.CheckLicense(this))
            {
                return;
            }
            if (!SDKUtils.CheckPage(this, Pages.Instance.SelectedPage))
            {
                return;
            }

            var result = await SBSDK.UI.LaunchCroppingScreenAsync(Pages.Instance.SelectedPage);

            Image.Source = null;
            Image.Source = Pages.Instance.SelectedPage.Document;
        }
        async void OnFilterButtonClick(object sender, EventArgs e)
        {
            if (!SDKUtils.CheckLicense(this))
            {
                return;
            }
            if (!SDKUtils.CheckPage(this, Pages.Instance.SelectedPage))
            {
                return;
            }

            var buttons = Enum.GetNames(typeof(ImageFilter));
            var action  = await DisplayActionSheet("Filter", "Cancel", null, buttons);

            ImageFilter filter;

            Enum.TryParse(action, out filter);
            CurrentFilter = filter;

            await Pages.Instance.SelectedPage.SetFilterAsync(filter);

            Image.Source = Pages.Instance.SelectedPage.DocumentPreview;
        }