protected void GetSmallImage(PDFDocument document, PdfPTable table) { ImageHelper.SaveImageToDisk(GetWorkshopImage(), Path.Combine(ImageHelper.GetTemporaryDirectory(), "logo.png")); iTextSharp.text.Image itextSharpImage = document.GetImage(Path.Combine(ImageHelper.GetTemporaryDirectory(), "logo.png"), 205, 53); document.AddSpannedCell(table, itextSharpImage, 4, document.GetRegularFont(false), 40); }