PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Mar 28, 2024 7:18 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Jan 28, 2021 8:33 am 
Offline

Joined: Thu Jan 28, 2021 8:29 am
Posts: 6
How do i generate signature from signature image in migradoc pdf?
i've tried following
section.AddImage(applicationFormEntity.ApplicantDigitalSignature);


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 28, 2021 11:12 am 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 909
Location: CCAA
AddImage needs a filename. Save the image file to disc and use the filename.

Or convert the image file to a BASE64 string as shown here:
http://pdfsharp.net/wiki/MigraDoc_FilelessImages.ashx

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 28, 2021 12:36 pm 
Offline

Joined: Thu Jan 28, 2021 8:29 am
Posts: 6
Thanks
mine was base64 encoded image


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 137 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group