Exemple #1
0
 public Api2Pdf(string overrideBaseUrl, Dictionary <string, string> httpHeaders = null)
 {
     Chrome      = new Chrome(overrideBaseUrl, httpHeaders);
     Wkhtml      = new Wkhtml(overrideBaseUrl, httpHeaders);
     LibreOffice = new LibreOffice(overrideBaseUrl, httpHeaders);
     PdfSharp    = new PdfSharp(overrideBaseUrl, httpHeaders);
     Utilities   = new Api2PdfUtility(overrideBaseUrl, httpHeaders);
 }
Exemple #2
0
 public Api2Pdf(string apiKey)
 {
     Chrome      = new Chrome(apiKey);
     Wkhtml      = new Wkhtml(apiKey);
     LibreOffice = new LibreOffice(apiKey);
     PdfSharp    = new PdfSharp(apiKey);
     Utilities   = new Api2PdfUtility(apiKey);
 }