Esempio n. 1
0
 private void SetTableSettings(PDFTableSettings tableSettings)
 {
     if (tableSettings.CellMargin > 0f)
     {
         this.tableSettings.CellMargin = tableSettings.CellMargin;
     }
     if (tableSettings.RowHeight > 0f)
     {
         this.tableSettings.RowHeight = tableSettings.RowHeight;
     }
 }
Esempio n. 2
0
 public void ConvertToPDF(string outputFile, PDFPageSettings pageSettings, PDFTableSettings tableSettings)
 {
     this.SetPageSettings(pageSettings);
     this.SetTableSettings(tableSettings);
     this.ConvertToPDF(outputFile);
 }