Capture Time on SignatuePad

By using Xamarin.Controls.SignaturePadView, is there a way to capture time at signature completion?

Posts

  • CortezCortez USMember ✭✭✭
    edited December 2017

    DateTime.Now

    But when and how do you want to capture the time? When you get the content or in the event handler?

    1)

    spv.SignaturePadCanvas.StrokeCompleted += (sender, e) =>
    {
    timeStamp = DateTime.Now;
    }
    

    2)

    signature = getImageStreamAsBytes(await spv.GetImageStreamAsync(SignatureImageFormat.Png, strokeColor: Color.Black, fillColor: Color.White);
    timeStamp = DateTime.Now;
    
Sign In or Register to comment.