Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]()  | 
 
add handwrite siganture to pdf form | 
 
    Post Reply  
   | 
  
| Author | |
   
   mazluta  
   
   Beginner  
   Joined: 21 Jun 12 Location: Israel Status: Offline Points: 17  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: add handwrite siganture to pdf formPosted: 05 May 20 at 11:01PM  | 
 
| 
   
    
   is there away to add signature drawing possibility or image as hanwrite signature ?
    
   
   | 
 |
![]()  | 
 |
   
   Ingo  
   
   Moderator Group  
    
   Joined: 29 Oct 05 Status: Offline Points: 3530  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 06 May 20 at 10:32PM | 
 
| 
   
    
   Hi, 
   
  yes... with image. Here's a normal sample from the kb: https://www.debenu.com/kb/add-visual-digital-signature-to-a-pdf-programmatically/ Here you'll find all related functions: https://www.debenu.com/docs/pdf_library_reference/SecurityAndSignatures.php Cheers and welcome here, Ingo  | 
 |
| 
   
     
     Cheers, 
   
  Ingo  | 
 |
![]()  | 
 |
   
   mazluta  
   
   Beginner  
   Joined: 21 Jun 12 Location: Israel Status: Offline Points: 17  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 07 May 20 at 9:18PM | 
 
| 
   
    
   thanks. 
   
  i will check it. 
    | 
 |
![]()  | 
 |
   
   mazluta  
   
   Beginner  
   Joined: 21 Jun 12 Location: Israel Status: Offline Points: 17  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 07 May 20 at 9:24PM | 
 
| 
   
    
   what you suggest is to sign with pfx file 
   
  i just want to add "handwrite" signature (with the mouse) in a PDF form. or just PDF (with no form). some thing like annotation but when the user add the BMP or sign with the mouse, save the file and not let any one touch the "signature" 
    | 
 |
![]()  | 
 |
   
   Ingo  
   
   Moderator Group  
    
   Joined: 29 Oct 05 Status: Offline Points: 3530  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 07 May 20 at 9:27PM | 
 
| 
   
    
   here you can search for anything which exists in the Debenu ressources: 
   
  https://www.debenu.com/docs/pdf_library_reference/Search.php  | 
 |
| 
   
     
     Cheers, 
   
  Ingo  | 
 |
![]()  | 
 |
   
   mazluta  
   
   Beginner  
   Joined: 21 Jun 12 Location: Israel Status: Offline Points: 17  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 08 May 20 at 9:17AM | 
 
| 
   
    that seem working. procedure TfrmDemo.Button1Click(Sender: TObject); var   SignProcessID: Integer;   FldIndx : integer;   ImgIndex : integer;   Rslt : integer;   tmpJpg : TJpegGraphic;   Stream  : TMemoryStream; begin   if Not Assigned(ViewPrintQP) then   begin     ViewPrintQP := TDebenuPDFLibrary.Create;     ViewPrintQP.UnlockKey(edtLicenseKey.Text);   end;   Rslt := ViewPrintQP.LoadFromFile('c:\aa\QuickPDF.pdf', '');   if rslt <> 1 then     beep; (*   Rslt := ViewPrintQP.AddStampAnnotationFromImage(50,50,50,50,'c:\aa\logo-2.jpg','mazluta','hanibaal',0,0,0,0);   if rslt <> 1 then     beep;   Rslt := ViewPrintQP.SaveToFile('c:\aa\Quick2.pdf');   if rslt <> 1 then     beep; *)   FldIndx := ViewPrintQP.NewFormField('mazluta',6);   ViewPrintQP.SetFormFieldBounds(FldIndx, 10, 400, 100, 100);   ViewPrintQP.SetFormFieldHighlightMode(FldIndx, 2);   tmpJpg := TJpegGraphic.Create;   Try     tmpJpg.LoadFromFile('c:\aa\logo-2.jpg');     Stream  := TMemoryStream.Create;     Try       tmpJpg.SaveToStream(Stream);       ImgIndex := ViewPrintQP.AddImageFromStream(Stream,0);     Finally       FreeAndNil(Stream);     End;   Finally     FreeAndNil(tmpJpg);   End;   Rslt := ViewPrintQP.SelectImage(ImgIndex);   if rslt <> 1 then     beep;   Rslt := ViewPrintQP.SetFormFieldSignatureImage(FldIndx,ImgIndex,0);   if rslt <> 1 then     beep;   ViewPrintQP.SetNeedAppearances(0);   ViewPrintQP.UpdateAndFlattenFormField(FldIndx);   Rslt := ViewPrintQP.SaveToFile('c:\aa\Quick2.pdf');   if rslt <> 1 then     beep;   ViewPrintQP.Free; end;  | 
 |
![]()  | 
 |
   
   mazluta  
   
   Beginner  
   Joined: 21 Jun 12 Location: Israel Status: Offline Points: 17  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 08 May 20 at 9:19AM | 
 
| 
   
    
   now i want to add transparent image (i want the signature graphic image to be transparent). 
   
  is it possible ?  | 
 |
![]()  | 
 |
   
   Ingo  
   
   Moderator Group  
    
   Joined: 29 Oct 05 Status: Offline Points: 3530  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 08 May 20 at 8:01PM | 
 
| 
   
    
   Try it ... then you'll know it. 
   
  Post the code if it works... then we'll know it, too ;-)  | 
 |
| 
   
     
     Cheers, 
   
  Ingo  | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  | 
 
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store