public FoxitPDFGenerator(string title, string footerContent) { Foxit.PDF.Document.AddLicense("FGN10NPSFJ3NIENDBQAhEYH7Lnw6aN3EPdVsY6K17yfDAMgA+J1aWeRq0RYcA5IzDqjZbvIixFuPLyBaVpLk9vcnyu1cg3ZrXmQA"); _document = new Document(); _document.Creator = "Upsideo"; _document.Author = "Upsideo"; _document.Title = title; this._footerContent = footerContent; this._font = Font.Helvetica; SetPageNumber = true; this._pageNumber = 1; CreatePage(); }
/// <summary> /// Constructor /// </summary> public FoxitPDFGenerator(string title) { //Foxit.PDF.Document.AddLicense("FGN10NPSID9MLAiCVYZ8dRCh4Uf8r+KrMhszynGs61LdDc/BFrulLZm71nyGErhFdRmSU44gOpFzJ7qx1XY5NSzsRgO8IXtS/h9g"); Foxit.PDF.Document.AddLicense("FGN10NPSFJ3NIENDBQAhEYH7Lnw6aN3EPdVsY6K17yfDAMgA+J1aWeRq0RYcA5IzDqjZbvIixFuPLyBaVpLk9vcnyu1cg3ZrXmQA"); _document = new Document(); //document.AddLicence(); _document.Creator = "Upsideo"; _document.Author = "Upsideo"; _document.Title = title; this._font = Font.Helvetica; SetPageNumber = true; this._pageNumber = 1; CreatePage(); }