xamarin/SignaturePad

How to display the Signature in an Image View

Closed this issue · 0 comments

Description

Hello, I need help to display the Signature in an ImageView in Xamarin.Forms

Code

async void GetSignature()
        {
            var bitmap = await SignatureView.GetImageStreamAsync(SignaturePad.Forms.SignatureImageFormat.Jpeg);

            ImageView.Source = ImageSource.FromStream(() =>
            {
                return bitmap;
            });
        }

Expected Behavior

Signature to Display in an ImageView

Actual Behavior

Nothing is displayed