private byte[] addSignature(iTextSharp.text.Image gif, int pageNumber, double x, double y, string headerSignature) { //gif.ScalePercent(70f); gif.ScaleAbsolute(88.2f, 62.3f); gif.SetAbsolutePosition(Convert.ToInt64(x), Convert.ToInt64(y)); return InsertImage(_pdfFile, gif, pageNumber, x, y, headerSignature); }