Example #1
0
 public static FPdf GetSample(string imagefile)
 {
     var p = new Sample2();
     p.ImageFile = imagefile;
     p.AliasNbPages();
     p.AddPage();
     p.SetFont("Times", "", 12);
     for (var i = 1; i <= 40; i++)
     {
         p.Cell(0, 10, "Printing line number " + i.ToString(), "0", 1);
     }
     return p;
 }