diff --git a/Performance Metrics/Excel to PDF/Boolean Data Type/.NET/Boolean Data Type/Boolean Data Type.slnx b/Performance Metrics/Excel to PDF/Boolean Data Type/.NET/Boolean Data Type/Boolean Data Type.slnx new file mode 100644 index 00000000..ba4475b4 --- /dev/null +++ b/Performance Metrics/Excel to PDF/Boolean Data Type/.NET/Boolean Data Type/Boolean Data Type.slnx @@ -0,0 +1,3 @@ + + + diff --git a/Performance Metrics/Excel to PDF/Boolean Data Type/.NET/Boolean Data Type/Boolean Data Type/Boolean Data Type.csproj b/Performance Metrics/Excel to PDF/Boolean Data Type/.NET/Boolean Data Type/Boolean Data Type/Boolean Data Type.csproj new file mode 100644 index 00000000..ad012f86 --- /dev/null +++ b/Performance Metrics/Excel to PDF/Boolean Data Type/.NET/Boolean Data Type/Boolean Data Type/Boolean Data Type.csproj @@ -0,0 +1,25 @@ + + + + Exe + net10.0 + Boolean_Data_Type + enable + enable + + + + + + + + + + Always + + + Always + + + + diff --git a/Performance Metrics/Excel to PDF/Boolean Data Type/.NET/Boolean Data Type/Boolean Data Type/Data/InputTemplate.xlsx b/Performance Metrics/Excel to PDF/Boolean Data Type/.NET/Boolean Data Type/Boolean Data Type/Data/InputTemplate.xlsx new file mode 100644 index 00000000..0d9a064d Binary files /dev/null and b/Performance Metrics/Excel to PDF/Boolean Data Type/.NET/Boolean Data Type/Boolean Data Type/Data/InputTemplate.xlsx differ diff --git a/Performance Metrics/Excel to PDF/Boolean Data Type/.NET/Boolean Data Type/Boolean Data Type/Output/.gitkeep b/Performance Metrics/Excel to PDF/Boolean Data Type/.NET/Boolean Data Type/Boolean Data Type/Output/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Performance Metrics/Excel to PDF/Boolean Data Type/.NET/Boolean Data Type/Boolean Data Type/Program.cs b/Performance Metrics/Excel to PDF/Boolean Data Type/.NET/Boolean Data Type/Boolean Data Type/Program.cs new file mode 100644 index 00000000..a3f06131 --- /dev/null +++ b/Performance Metrics/Excel to PDF/Boolean Data Type/.NET/Boolean Data Type/Boolean Data Type/Program.cs @@ -0,0 +1,31 @@ +using Syncfusion.XlsIO; +using Syncfusion.XlsIORenderer; +using Syncfusion.Pdf; +using System.IO; + +namespace Boolean_Data_Type +{ + class Program + { + static void Main(string[] args) + { + using (ExcelEngine excelEngine = new ExcelEngine()) + { + IApplication application = excelEngine.Excel; + application.DefaultVersion = ExcelVersion.Xlsx; + + //Load existing Excel file + IWorkbook workbook = application.Workbooks.Open(Path.GetFullPath(@"Data/InputTemplate.xlsx")); + + //Convert to PDF + XlsIORenderer renderer = new XlsIORenderer(); + PdfDocument pdfDocument = renderer.ConvertToPDF(workbook); + + #region Save + //Saving the workbook + pdfDocument.Save(Path.GetFullPath(@"Output/Sample.pdf")); + #endregion + } + } + } +} \ No newline at end of file diff --git a/Performance Metrics/Excel to PDF/DateTime Data Type/.NET/DateTime Data Type/DateTime Data Type.slnx b/Performance Metrics/Excel to PDF/DateTime Data Type/.NET/DateTime Data Type/DateTime Data Type.slnx new file mode 100644 index 00000000..e82b5fe6 --- /dev/null +++ b/Performance Metrics/Excel to PDF/DateTime Data Type/.NET/DateTime Data Type/DateTime Data Type.slnx @@ -0,0 +1,3 @@ + + + diff --git a/Performance Metrics/Excel to PDF/DateTime Data Type/.NET/DateTime Data Type/DateTime Data Type/Data/InputTemplate.xlsx b/Performance Metrics/Excel to PDF/DateTime Data Type/.NET/DateTime Data Type/DateTime Data Type/Data/InputTemplate.xlsx new file mode 100644 index 00000000..4a75cfb6 Binary files /dev/null and b/Performance Metrics/Excel to PDF/DateTime Data Type/.NET/DateTime Data Type/DateTime Data Type/Data/InputTemplate.xlsx differ diff --git a/Performance Metrics/Excel to PDF/DateTime Data Type/.NET/DateTime Data Type/DateTime Data Type/DateTime Data Type.csproj b/Performance Metrics/Excel to PDF/DateTime Data Type/.NET/DateTime Data Type/DateTime Data Type/DateTime Data Type.csproj new file mode 100644 index 00000000..d2f6aa20 --- /dev/null +++ b/Performance Metrics/Excel to PDF/DateTime Data Type/.NET/DateTime Data Type/DateTime Data Type/DateTime Data Type.csproj @@ -0,0 +1,24 @@ + + + + Exe + net10.0 + DateTime_Data_Type + enable + enable + + + + + + + + + Always + + + Always + + + + diff --git a/Performance Metrics/Excel to PDF/DateTime Data Type/.NET/DateTime Data Type/DateTime Data Type/Output/.gitkeep b/Performance Metrics/Excel to PDF/DateTime Data Type/.NET/DateTime Data Type/DateTime Data Type/Output/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Performance Metrics/Excel to PDF/DateTime Data Type/.NET/DateTime Data Type/DateTime Data Type/Program.cs b/Performance Metrics/Excel to PDF/DateTime Data Type/.NET/DateTime Data Type/DateTime Data Type/Program.cs new file mode 100644 index 00000000..1f440131 --- /dev/null +++ b/Performance Metrics/Excel to PDF/DateTime Data Type/.NET/DateTime Data Type/DateTime Data Type/Program.cs @@ -0,0 +1,31 @@ +using Syncfusion.XlsIO; +using Syncfusion.XlsIORenderer; +using Syncfusion.Pdf; +using System.IO; + +namespace DateTime_Data_Type +{ + class Program + { + static void Main(string[] args) + { + using (ExcelEngine excelEngine = new ExcelEngine()) + { + IApplication application = excelEngine.Excel; + application.DefaultVersion = ExcelVersion.Xlsx; + + //Load existing Excel file + IWorkbook workbook = application.Workbooks.Open(Path.GetFullPath(@"Data/InputTemplate.xlsx")); + + //Convert to PDF + XlsIORenderer renderer = new XlsIORenderer(); + PdfDocument pdfDocument = renderer.ConvertToPDF(workbook); + + #region Save + //Saving the workbook + pdfDocument.Save(Path.GetFullPath(@"Output/Sample.pdf")); + #endregion + } + } + } +} \ No newline at end of file diff --git a/Performance Metrics/Excel to PDF/Formula Data Type/.NET/Formula Data Type/Formula Data Type.slnx b/Performance Metrics/Excel to PDF/Formula Data Type/.NET/Formula Data Type/Formula Data Type.slnx new file mode 100644 index 00000000..95aee489 --- /dev/null +++ b/Performance Metrics/Excel to PDF/Formula Data Type/.NET/Formula Data Type/Formula Data Type.slnx @@ -0,0 +1,3 @@ + + + diff --git a/Performance Metrics/Excel to PDF/Formula Data Type/.NET/Formula Data Type/Formula Data Type/Data/InputTemplate.xlsx b/Performance Metrics/Excel to PDF/Formula Data Type/.NET/Formula Data Type/Formula Data Type/Data/InputTemplate.xlsx new file mode 100644 index 00000000..eb5f7490 Binary files /dev/null and b/Performance Metrics/Excel to PDF/Formula Data Type/.NET/Formula Data Type/Formula Data Type/Data/InputTemplate.xlsx differ diff --git a/Performance Metrics/Excel to PDF/Formula Data Type/.NET/Formula Data Type/Formula Data Type/Formula Data Type.csproj b/Performance Metrics/Excel to PDF/Formula Data Type/.NET/Formula Data Type/Formula Data Type/Formula Data Type.csproj new file mode 100644 index 00000000..2137ba28 --- /dev/null +++ b/Performance Metrics/Excel to PDF/Formula Data Type/.NET/Formula Data Type/Formula Data Type/Formula Data Type.csproj @@ -0,0 +1,24 @@ + + + + Exe + net10.0 + Formula_Data_Type + enable + enable + + + + + + + + + Always + + + Always + + + + diff --git a/Performance Metrics/Excel to PDF/Formula Data Type/.NET/Formula Data Type/Formula Data Type/Output/.gitkeep b/Performance Metrics/Excel to PDF/Formula Data Type/.NET/Formula Data Type/Formula Data Type/Output/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Performance Metrics/Excel to PDF/Formula Data Type/.NET/Formula Data Type/Formula Data Type/Program.cs b/Performance Metrics/Excel to PDF/Formula Data Type/.NET/Formula Data Type/Formula Data Type/Program.cs new file mode 100644 index 00000000..b104cd2d --- /dev/null +++ b/Performance Metrics/Excel to PDF/Formula Data Type/.NET/Formula Data Type/Formula Data Type/Program.cs @@ -0,0 +1,31 @@ +using Syncfusion.XlsIO; +using Syncfusion.XlsIORenderer; +using Syncfusion.Pdf; +using System.IO; + +namespace Formula_Data_Type +{ + class Program + { + static void Main(string[] args) + { + using (ExcelEngine excelEngine = new ExcelEngine()) + { + IApplication application = excelEngine.Excel; + application.DefaultVersion = ExcelVersion.Xlsx; + + //Load existing Excel file + IWorkbook workbook = application.Workbooks.Open(Path.GetFullPath(@"Data/InputTemplate.xlsx")); + + //Convert to PDF + XlsIORenderer renderer = new XlsIORenderer(); + PdfDocument pdfDocument = renderer.ConvertToPDF(workbook); + + #region Save + //Saving the workbook + pdfDocument.Save(Path.GetFullPath(@"Output/Sample.pdf")); + #endregion + } + } + } +} \ No newline at end of file diff --git a/Performance Metrics/Excel to PDF/Number Data Type/.NET/Number Data Type/Number Data Type.slnx b/Performance Metrics/Excel to PDF/Number Data Type/.NET/Number Data Type/Number Data Type.slnx new file mode 100644 index 00000000..9ebb9640 --- /dev/null +++ b/Performance Metrics/Excel to PDF/Number Data Type/.NET/Number Data Type/Number Data Type.slnx @@ -0,0 +1,3 @@ + + + diff --git a/Performance Metrics/Excel to PDF/Number Data Type/.NET/Number Data Type/Number Data Type/Data/InputTemplate.xlsx b/Performance Metrics/Excel to PDF/Number Data Type/.NET/Number Data Type/Number Data Type/Data/InputTemplate.xlsx new file mode 100644 index 00000000..c8336c55 Binary files /dev/null and b/Performance Metrics/Excel to PDF/Number Data Type/.NET/Number Data Type/Number Data Type/Data/InputTemplate.xlsx differ diff --git a/Performance Metrics/Excel to PDF/Number Data Type/.NET/Number Data Type/Number Data Type/Number Data Type.csproj b/Performance Metrics/Excel to PDF/Number Data Type/.NET/Number Data Type/Number Data Type/Number Data Type.csproj new file mode 100644 index 00000000..768854af --- /dev/null +++ b/Performance Metrics/Excel to PDF/Number Data Type/.NET/Number Data Type/Number Data Type/Number Data Type.csproj @@ -0,0 +1,24 @@ + + + + Exe + net10.0 + Number_Data_Type + enable + enable + + + + + + + + + Always + + + Always + + + + diff --git a/Performance Metrics/Excel to PDF/Number Data Type/.NET/Number Data Type/Number Data Type/Output/.gitkeep b/Performance Metrics/Excel to PDF/Number Data Type/.NET/Number Data Type/Number Data Type/Output/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Performance Metrics/Excel to PDF/Number Data Type/.NET/Number Data Type/Number Data Type/Program.cs b/Performance Metrics/Excel to PDF/Number Data Type/.NET/Number Data Type/Number Data Type/Program.cs new file mode 100644 index 00000000..9f37782b --- /dev/null +++ b/Performance Metrics/Excel to PDF/Number Data Type/.NET/Number Data Type/Number Data Type/Program.cs @@ -0,0 +1,31 @@ +using Syncfusion.XlsIO; +using Syncfusion.XlsIORenderer; +using Syncfusion.Pdf; +using System.IO; + +namespace Number_Data_Type +{ + class Program + { + static void Main(string[] args) + { + using (ExcelEngine excelEngine = new ExcelEngine()) + { + IApplication application = excelEngine.Excel; + application.DefaultVersion = ExcelVersion.Xlsx; + + //Load existing Excel file + IWorkbook workbook = application.Workbooks.Open(Path.GetFullPath(@"Data/InputTemplate.xlsx")); + + //Convert to PDF + XlsIORenderer renderer = new XlsIORenderer(); + PdfDocument pdfDocument = renderer.ConvertToPDF(workbook); + + #region Save + //Saving the workbook + pdfDocument.Save(Path.GetFullPath(@"Output/Sample.pdf")); + #endregion + } + } + } +} \ No newline at end of file diff --git a/Performance Metrics/Excel to PDF/String Data Type/.NET/String Data Type/String Data Type.slnx b/Performance Metrics/Excel to PDF/String Data Type/.NET/String Data Type/String Data Type.slnx new file mode 100644 index 00000000..9d40052d --- /dev/null +++ b/Performance Metrics/Excel to PDF/String Data Type/.NET/String Data Type/String Data Type.slnx @@ -0,0 +1,3 @@ + + + diff --git a/Performance Metrics/Excel to PDF/String Data Type/.NET/String Data Type/String Data Type/Data/InputTemplate.xlsx b/Performance Metrics/Excel to PDF/String Data Type/.NET/String Data Type/String Data Type/Data/InputTemplate.xlsx new file mode 100644 index 00000000..3069bbac Binary files /dev/null and b/Performance Metrics/Excel to PDF/String Data Type/.NET/String Data Type/String Data Type/Data/InputTemplate.xlsx differ diff --git a/Performance Metrics/Excel to PDF/String Data Type/.NET/String Data Type/String Data Type/Output/.gitkeep b/Performance Metrics/Excel to PDF/String Data Type/.NET/String Data Type/String Data Type/Output/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Performance Metrics/Excel to PDF/String Data Type/.NET/String Data Type/String Data Type/Program.cs b/Performance Metrics/Excel to PDF/String Data Type/.NET/String Data Type/String Data Type/Program.cs new file mode 100644 index 00000000..fc7f1eef --- /dev/null +++ b/Performance Metrics/Excel to PDF/String Data Type/.NET/String Data Type/String Data Type/Program.cs @@ -0,0 +1,31 @@ +using Syncfusion.XlsIO; +using Syncfusion.XlsIORenderer; +using Syncfusion.Pdf; +using System.IO; + +namespace String_Data_Type +{ + class Program + { + static void Main(string[] args) + { + using (ExcelEngine excelEngine = new ExcelEngine()) + { + IApplication application = excelEngine.Excel; + application.DefaultVersion = ExcelVersion.Xlsx; + + //Load existing Excel file + IWorkbook workbook = application.Workbooks.Open(Path.GetFullPath(@"Data/InputTemplate.xlsx")); + + //Convert to PDF + XlsIORenderer renderer = new XlsIORenderer(); + PdfDocument pdfDocument = renderer.ConvertToPDF(workbook); + + #region Save + //Saving the workbook + pdfDocument.Save(Path.GetFullPath(@"Output/Sample.pdf")); + #endregion + } + } + } +} \ No newline at end of file diff --git a/Performance Metrics/Excel to PDF/String Data Type/.NET/String Data Type/String Data Type/String Data Type.csproj b/Performance Metrics/Excel to PDF/String Data Type/.NET/String Data Type/String Data Type/String Data Type.csproj new file mode 100644 index 00000000..f1adfad2 --- /dev/null +++ b/Performance Metrics/Excel to PDF/String Data Type/.NET/String Data Type/String Data Type/String Data Type.csproj @@ -0,0 +1,24 @@ + + + + Exe + net10.0 + String_Data_Type + enable + enable + + + + + + + + + Always + + + Always + + + +