This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Directory path for input and output files. | |
| String dirPath = "D:\\Download\\"; | |
| // Load your sample CSV file inside the Workbook object. | |
| com.aspose.cells.Workbook wb = new com.aspose.cells.Workbook(dirPath + "sampleConvertCSVToExcelFormats.csv"); | |
| // Save CSV file to XLSX format. | |
| wb.save(dirPath + "outputConvertCSVToExcelFormats.xlsx", SaveFormat.XLSX); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Directory path for input and output files. | |
| String dirPath = "D:\\Download\\"; | |
| // Load your sample CSV file inside the Workbook object. | |
| com.aspose.cells.Workbook wb = new com.aspose.cells.Workbook(dirPath + "sampleConvertCSVToExcelFormats.csv"); | |
| // Save CSV file to XLS format. | |
| wb.save(dirPath + "outputConvertCSVToExcelFormats.xls", SaveFormat.EXCEL_97_TO_2003); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Directory path for input and output files. | |
| string dirPath = "D:\\Download\\"; | |
| // Load your sample CSV file inside the Workbook object. | |
| Aspose.Cells.Workbook wb = new Aspose.Cells.Workbook(dirPath + "sampleConvertCSVToExcelFormats.csv"); | |
| // Save CSV file to XLSB format. | |
| wb.Save(dirPath + "outputConvertCSVToExcelFormats.xlsb", SaveFormat.Xlsb); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Directory path for input and output files. | |
| string dirPath = "D:\\Download\\"; | |
| // Load your sample CSV file inside the Workbook object. | |
| Aspose.Cells.Workbook wb = new Aspose.Cells.Workbook(dirPath + "sampleConvertCSVToExcelFormats.csv"); | |
| // Save CSV file to XLSM format. | |
| wb.Save(dirPath + "outputConvertCSVToExcelFormats.xlsm", SaveFormat.Xlsm); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Directory path for input and output files. | |
| string dirPath = "D:\\Download\\"; | |
| // Load your sample CSV file inside the Workbook object. | |
| Aspose.Cells.Workbook wb = new Aspose.Cells.Workbook(dirPath + "sampleConvertCSVToExcelFormats.csv"); | |
| // Save CSV file to XLSX format. | |
| wb.Save(dirPath + "outputConvertCSVToExcelFormats.xlsx", SaveFormat.Xlsx); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Directory path for input and output files. | |
| string dirPath = "D:\\Download\\"; | |
| // Load your sample CSV file inside the Workbook object. | |
| Aspose.Cells.Workbook wb = new Aspose.Cells.Workbook(dirPath + "sampleConvertCSVToExcelFormats.csv"); | |
| // Save CSV file to XLS format. | |
| wb.Save(dirPath + "outputConvertCSVToExcelFormats.xls", SaveFormat.Excel97To2003); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Directory path of input and output files. | |
| String dirPath = "D:/Download/"; | |
| // Load source Excel file containing the chart data. | |
| Workbook wb = new Workbook(dirPath + "sampleCreateMicrosoftExcelLineChart.xlsx"); | |
| // Access first worksheet. | |
| Worksheet ws = wb.getWorksheets().get(0); | |
| // Specify dimensions of the chart. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Directory path for output. | |
| String dirPath = "D:\\Download\\"; | |
| // Create workbook object. | |
| com.aspose.cells.Workbook wb = new Workbook(); | |
| // Get default style of the workbook. | |
| Style st = wb.getDefaultStyle(); | |
| // Set the font name, size, vertical and |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Directory path for output. | |
| String dirPath = "D:\\Download\\"; | |
| // Create workbook object. | |
| Aspose.Cells.Workbook wb = new Workbook(); | |
| // Get default style of the workbook. | |
| Style st = wb.DefaultStyle; | |
| // Set the font name, size, vertical and |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Directory path of input and output files. | |
| string dirPath = "D:/Download/"; | |
| // Load source Excel file containing the chart data. | |
| Workbook wb = new Workbook(dirPath + "sampleCreateMicrosoftExcelLineChart.xlsx"); | |
| // Access first worksheet. | |
| Worksheet ws = wb.Worksheets[0]; | |
| // Specify dimensions of the chart. |