Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Fri Oct 02, 2020 6:07 am

hi,
the image of the signature is always positioned on the left of the text, can it be positioned under the text.
thank you

nbenamara
 
Posts: 2
Joined: Thu Oct 03, 2019 12:06 pm

Fri Oct 02, 2020 9:30 am

Hi,

Thanks for your inquiry.
Do you use Spire.PDF for .NET? If so, sorry that putting the image under text is not supported at present. We will consider adding the new feature in our future upgrade. Once it is implemented, we will let you know.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Fri Oct 02, 2020 1:35 pm

Thanks for your quick reply, yes I am using Spire.PDF for .NET.
Please alert me as soon as possible

nbenamara
 
Posts: 2
Joined: Thu Oct 03, 2019 12:06 pm

Mon Oct 05, 2020 1:43 am

Hi,

Thanks for your feedback and sorry for the late reply as weekend.
Our Dev team will investigate if the feature can be achieved in the future. I will keep you informed once any significant progress as been made.
Have a nice day :)

Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 1385
Joined: Tue Sep 27, 2016 1:06 am

Mon Dec 07, 2020 10:27 am

Hi,

Thanks for your patient waiting.
I am writing to inform you that our Spire.PDF supports customizing the location of signature text and image. Please download the hotfix Spire.PDF Pack(Hot Fix) Version:6.12.3 from the following link and use the code snippet below to put the signature image under text. Any question, please feel free to contact us.
Website link: https://www.e-iceblue.com/Download/download-pdf-for-net-now.html
Nuget link: https://www.nuget.org/packages/Spire.PDF/6.12.3

Code: Select all
signature.ConfigureCustomGraphics(DrawGraphics);
private void DrawGraphics(PdfCanvas g)
{
   g.DrawString("Signed by:Tom", new PdfFont(PdfFontFamily.Helvetica, 12f), PdfBrushes.Red, new Rectangle(0, 0, 120, 20));
    string inputFile = "C:/image.png";
    PdfImage img = PdfImage.FromFile(inputFile);
    g.DrawImage(img, 0, 60, 150, 50);
}

Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 1385
Joined: Tue Sep 27, 2016 1:06 am

Return to Spire.PDF

cron