Capture signature and save it to external file

JohnPapa

Registered User.
Local time
Today, 21:17
Joined
Aug 15, 2010
Messages
1,088
I have developed a VB.net Forms application and would like to be able to capture a user's signature, store it in an external file as part of a pdf file and subsequently be able to view the pdf file.

There are several examples in C#, using inkCanvas, but was unable to find something in VB.
 
have you tried using a code converter like this one?

converted the C# code on this site https://www.codeproject.com/articles/158339/signature-box-that-makes-the-signature-look-right

Converted code looks OK to me but not tested
I have used the converter. I just found it strange that no VB code example was available.
 
Try this:
 
have you tried using a code converter like this one?

converted the C# code on this site https://www.codeproject.com/articles/158339/signature-box-that-makes-the-signature-look-right

Converted code looks OK to me but not tested
I had a look. I could not find a beginning or an end to the article and the download is a .dll. Not very useful in its present form, to me at least.
 
I have implemented it in VBA for the desktop application.
I am trying to implement the same functionality in the Cloud version which uses VB.net

Sorry I haven't done that so can't help.
I use code to email the collected signature to 'head office' instead
 
No.
I save signatures as .GIF images for attachment to email
Doing that means no need to have an internet connection as such
 
Do we need to use the .xaml file or can everything be handled with VB code?
The question is answered in the text itself:
You can access all WPF features from procedural code. Follow these steps to create a "Hello Ink World" application for WPF that doesn’t use any XAML at all.

Regarding the InkCanvas control, I recommend you investigate if and how a WPF component can be used in a WinForms application.
 

Users who are viewing this thread

Back
Top Bottom