Signature Pad for Xamarin.forms

Flip-VenusFlip-Venus NLMember
edited June 2016 in Xamarin.Forms

Hi.
I want to know how to use signature component for Xamarin.forms project.

https://components.xamarin.com/view/signature-pad

Is this different with SignaturePad.Xamarin.Forms.PCL?

I have add SignaturePad.Xamarin.Forms.PCL package to my xamarin.forms project and made xaml file like this.

<ContentView 
    xmlns="http://xamarin.com/schemas/2014/forms" 
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" 
    xmlns:acr="clr-namespace:Acr.XamForms.SignaturePad;assembly=Acr.XamForms.SignaturePad"
    x:Class="Smartdocs.SignatureView"
    BackgroundColor="#f2f9fc"
    >
    <ScrollView>
        <StackLayout>
            <acr:SignaturePadView
                x:Name="padView"
                HeightRequest="320"
                WidthRequest="240"
                BackgroundColor="White"
                CaptionText="Caption This"
                CaptionTextColor="Black"
                ClearText="Clear Me!"
                ClearTextColor="Red"
                PromptText="Prompt Here"
                PromptTextColor="Red"
                SignatureLineColor="Aqua"
                StrokeColor="Black"
                StrokeWidth="2"
            />
        </StackLayout>
    </ScrollView>
</ContentView>

What else do I have to do?

I am looking forward your help.

Kind Regards.

Best Answer

Answers

  • Flip-VenusFlip-Venus NLMember
    edited June 2016

    Thanks, PulseMobile. :blush:

  • anslemarnoldaanslemarnolda USMember

    Hi,

    Can you Leave the code here on how you got the Signature Pad Working on Xamarin forms, Im finding is difficult to understand what they have given on GITHUB.

  • LuiginoDeTogniLuiginoDeTogni USMember ✭✭

    I forked an existing project for Signature Pad for Xamarin Forms.
    Here there is my update project for Xamarin Forms v2.3.0.107
    https://github.com/lewixlabs/acr-xamarin-forms

  • MinionSurdMinionSurd USMember

    Thanks Luigino De Togni. You saved my day

  • Vaka.GopiNadhReddyVaka.GopiNadhReddy USMember ✭✭✭

    i done a small sample on signaturePad by using dependency in xamarin.forms, here it is......

  • VenkataSwamyVenkataSwamy INMember ✭✭✭

    Hi EveryOne,

    I did a sample on SignaturePad

    Here I used CustomRederers and DependencyService concepts.

    In this sample, We are able to get users signature in both iOS and android and we are also able to save it as an image into our local device storage.

    Please find the sample

  • Avi009Avi009 MUMember

    @BalaRaju
    Hi.. Ive tried your solution 'SignaturePadDemo.zip', the filepath where the image should be stored is - /data/data/com.companyname.signaturepaddemo/files/temp_2017_13_18_10_13_18.jpg .. But when i go to that specify folder i can't see the image. Can you help me out with this?

    Ps: I'm new to Xamarin :)

Sign In or Register to comment.