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
| // Path of input TSV and output PDF files. | |
| intrusive_ptr<Aspose::Cells::System::String> inputTSVFile = new Aspose::Cells::System::String("D:\\Download\\sampleConvertTSVToPDF.tsv"); | |
| intrusive_ptr<Aspose::Cells::System::String> outputPDFFile = new Aspose::Cells::System::String("D:\\Download\\outputConvertTSVToPDFWithOnePagePerSheetOption.pdf"); | |
| // Specify that you want to load TSV file. | |
| intrusive_ptr<Aspose::Cells::ILoadOptions> opts = Aspose::Cells::Factory::CreateILoadOptions(Aspose::Cells::LoadFormat_TabDelimited); | |
| // Load your sample TSV file inside the Workbook object using specified LoadOptions. | |
| intrusive_ptr<Aspose::Cells::IWorkbook> wb = Aspose::Cells::Factory::CreateIWorkbook(inputTSVFile, opts); |
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
| // Path of input TSV and output PDF files. | |
| intrusive_ptr<Aspose::Cells::System::String> inputTSVFile = new Aspose::Cells::System::String("D:\\Download\\sampleConvertTSVToPDF.tsv"); | |
| intrusive_ptr<Aspose::Cells::System::String> outputPDFFile = new Aspose::Cells::System::String("D:\\Download\\outputConvertTSVToPDFDirectly.pdf"); | |
| // Specify that you want to load TSV file. | |
| intrusive_ptr<Aspose::Cells::ILoadOptions> opts = Aspose::Cells::Factory::CreateILoadOptions(Aspose::Cells::LoadFormat_TabDelimited); | |
| // Load your sample TSV file inside the Workbook object using specified LoadOptions. | |
| intrusive_ptr<Aspose::Cells::IWorkbook> wb = Aspose::Cells::Factory::CreateIWorkbook(inputTSVFile, opts); |
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\\"; | |
| // Specify that you want to load TSV file. | |
| LoadOptions opts = new LoadOptions(LoadFormat.TSV); | |
| // Load your sample TSV file inside the Workbook object using specified LoadOptions. | |
| com.aspose.cells.Workbook wb = new Workbook(dirPath + "sampleConvertTSVToPDF.tsv", opts); | |
| // Specify PDF Save Options - One Page Per Sheet |
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\\"; | |
| // Specify that you want to load TSV file. | |
| LoadOptions opts = new LoadOptions(LoadFormat.TSV); | |
| // Load your sample TSV file inside the Workbook object using specified LoadOptions. | |
| com.aspose.cells.Workbook wb = new Workbook(dirPath + "sampleConvertTSVToPDF.tsv", opts); | |
| // Save TSV file to PDF directly. |
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\\"; | |
| // Specify that you want to load TSV file. | |
| LoadOptions opts = new LoadOptions(LoadFormat.TSV); | |
| // Load your sample TSV file inside the Workbook object using specified LoadOptions. | |
| Aspose.Cells.Workbook wb = new Aspose.Cells.Workbook(dirPath + "sampleConvertTSVToPDF.tsv", opts); | |
| // Specify PDF Save Options - One Page Per Sheet |
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\\"; | |
| // Specify that you want to load TSV file. | |
| LoadOptions opts = new LoadOptions(LoadFormat.TSV); | |
| // Load your sample TSV file inside the Workbook object using specified LoadOptions. | |
| Aspose.Cells.Workbook wb = new Aspose.Cells.Workbook(dirPath + "sampleConvertTSVToPDF.tsv", opts); | |
| // Save TSV file to PDF directly. |
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
| // Path of input and output Excel files. | |
| intrusive_ptr<Aspose::Cells::System::String> inputExcelFile = new Aspose::Cells::System::String("D:\\Download\\sampleExcelRange.xlsx"); | |
| intrusive_ptr<Aspose::Cells::System::String> outputExcelFile = new Aspose::Cells::System::String("D:\\Download\\outputCopyExcelRangeToDifferentWorksheet.xlsx"); | |
| // Load sample Excel file inside workbook object. | |
| intrusive_ptr<Aspose::Cells::IWorkbook> wb = Factory::CreateIWorkbook(inputExcelFile); | |
| // Access first worksheet containing the source range. | |
| intrusive_ptr<Aspose::Cells::IWorksheet> ws = wb->GetIWorksheets()->GetObjectByIndex(0); |
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
| // Path of input and output Excel files. | |
| intrusive_ptr<Aspose::Cells::System::String> inputExcelFile = new Aspose::Cells::System::String("D:\\Download\\sampleExcelRange.xlsx"); | |
| intrusive_ptr<Aspose::Cells::System::String> outputExcelFile = new Aspose::Cells::System::String("D:\\Download\\outputCopyExcelRangeToSameWorksheet.xlsx"); | |
| // Load sample Excel file inside workbook object. | |
| intrusive_ptr<Aspose::Cells::IWorkbook> wb = Factory::CreateIWorkbook(inputExcelFile); | |
| // Access first worksheet containing the source range. | |
| intrusive_ptr<Aspose::Cells::IWorksheet> ws = wb->GetIWorksheets()->GetObjectByIndex(0); |
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 sample Excel file inside workbook object. | |
| com.aspose.cells.Workbook wb = new Workbook(dirPath + "sampleExcelRange.xlsx"); | |
| // Access first worksheet containing the source range. | |
| Worksheet ws = wb.getWorksheets().get(0); | |
| // Access second worksheet where source range to be copied. |
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 sample Excel file inside workbook object. | |
| com.aspose.cells.Workbook wb = new Workbook(dirPath + "sampleExcelRange.xlsx"); | |
| // Access first worksheet containing the source range. | |
| Worksheet ws = wb.getWorksheets().get(0); | |
| // Create source range object. |