コード例 #1
0
ファイル: Api2Pdf.cs プロジェクト: Api2Pdf/api2pdf.dotnet
 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);
 }
コード例 #2
0
ファイル: Api2Pdf.cs プロジェクト: Api2Pdf/api2pdf.dotnet
 public Api2Pdf(string apiKey)
 {
     Chrome      = new Chrome(apiKey);
     Wkhtml      = new Wkhtml(apiKey);
     LibreOffice = new LibreOffice(apiKey);
     PdfSharp    = new PdfSharp(apiKey);
     Utilities   = new Api2PdfUtility(apiKey);
 }