This file contains 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
// Load the input Excel file | |
com.aspose.cells.Workbook workbook = new com.aspose.cells.Workbook("Excel.xlsx"); | |
// Convert XLSX to CSV file | |
workbook.save("ExcelToCSV.csv", com.aspose.cells.SaveFormat.CSV); |
This file contains 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
// Load the input Excel file | |
Workbook workbook = new Workbook("Excel.xlsx"); | |
// Convert XLSX to CSV file | |
workbook.Save("ExcelToCSV.csv", Aspose.Cells.SaveFormat.Csv); |
This file contains 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
// Initialize an object of Scene class | |
Aspose.ThreeD.Scene scene = new Aspose.ThreeD.Scene(); | |
// Load input STL file with Open method | |
scene.Open("test.stl"); | |
// Specify the output format for the Wavefront OBJ file | |
Aspose.ThreeD.FileFormat outputformat = Aspose.ThreeD.FileFormat.WavefrontOBJ; | |
// Convert STL to OBJ Object file |
This file contains 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
// Load input Word document | |
Aspose.Words.Document doc = new Aspose.Words.Document("input.docx"); | |
// Create an object of OoxmlSaveOptions class | |
Aspose.Words.Saving.OoxmlSaveOptions saveOptions = new Aspose.Words.Saving.OoxmlSaveOptions(Aspose.Words.SaveFormat.Docx); | |
// Use Super Fast compression level for faster and weaker compression | |
saveOptions.CompressionLevel = Aspose.Words.Saving.CompressionLevel.SuperFast; | |
// Save compressed Word DOCX document |
This file contains 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
string inputFile ="file.fbx"; | |
using (Image image = Image.Load(inputFile)) | |
{ | |
// Initialize ObjOptions class object | |
ObjOptions options = new ObjOptions(); | |
// Export FBX to OBJ | |
string outPath = "output.obj"; | |
image.Save(outPath, options); | |
} |
This file contains 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
// Load PDF document | |
Document document = new Document("input.pdf"); | |
// Convert PDF to XML format | |
document.save("output.xml", com.aspose.pdf.SaveFormat.MobiXml); |
This file contains 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
// Load Excel file | |
Workbook wb = new Workbook("Workbook.xlsx"); | |
// Create JsonSaveOptions class object | |
Aspose.Cells.JsonSaveOptions options = new Aspose.Cells.JsonSaveOptions(); | |
options.SkipEmptyRows = true; | |
options.ExportAsString = true; | |
// Save as JSON | |
wb.Save("Excel_to_JSON.json", options); |
This file contains 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
// Load the input 3MF file | |
var scene = Aspose.ThreeD.Scene.FromFile("cylinder.3mf"); | |
// Create an object of StlSaveOptions class | |
Aspose.ThreeD.Formats.StlSaveOptions options = new Aspose.ThreeD.Formats.StlSaveOptions(); | |
// Convert 3MF to STL | |
scene.Save("3MFtoSTL.stl", options); |
This file contains 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
// Load the source DOCX file | |
com.groupdocs.conversion.Converter converter = new com.groupdocs.conversion.Converter("sample.docx"); | |
// Create an object of PresentationConvertOptions class | |
com.groupdocs.conversion.options.convert.PresentationConvertOptions options = new com.groupdocs.conversion.options.convert.PresentationConvertOptions(); | |
// Convert Word DOCX to PPTX Presentation | |
converter.convert("Presentation.pptx", options); |
This file contains 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
// Initialize an HTML document from the file | |
var document = new com.aspose.html.HTMLDocument("spring.html"); | |
// Initialize PdfSaveOptions | |
var options = new com.aspose.html.saving.PdfSaveOptions(); | |
// Convert HTML to PDF | |
com.aspose.html.converters.Converter.convertHTML(document, options, "spring-output.pdf"); | |
// Load PDF document |
NewerOlder