How to place header on PDF invoice ?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 年 前
i would like to have a header on the PDF invoice like a company logo picture

Please provide me the code that should be added and where in the PdfHelper.cs in order to have a logo or something like that as the header on the PDF invoice...

Thanks
13 年 前
Use the following code inside PDFHelper.cs after doc.Open() statement

Image jpg = Image.GetInstance(new Uri("C:\\My Documents\\My Pictures\\lion.jpg"));

doc.Add(new ImgCCITT(jpg));


You can also generate image string dynamically by adding in global settings.

Thanks
Venkat
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.