Hi admin!
Please help me about set width for signature image and Text special. For example image width =100, text =300. I alway see a both of them the same width after I signed on pdf file.
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);
}