C# API um XLS in BMP umzuwandeln
C#-Bibliothek zum Konvertieren von XLS in BMP
Konvertieren Sie eine XLS-Datei in BMP in C#
API
PUT
https://api.aspose.cloud/v3.0/cells/convert
Das Konvertieren von Dateiformaten von XLS in BMP ist eine komplexe Aufgabe. Alle Formatübergänge von XLS zu BMP werden von unserem C# SDK durchgeführt, während der strukturelle und logische Hauptinhalt der XLS-Quelltabelle beibehalten wird. Unsere C#-Bibliothek ist eine professionelle Lösung, um XLS-Dateien online in BMP-Dateien zu konvertieren. Dieses Cloud-SDK bietet C#-Entwicklern leistungsstarke Funktionen und eine perfekte BMP-Ausgabe.
Codebeispiel in C# mit REST API zum Konvertieren von XLS in das BMP-Format
// For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-dotnet/
string name = "Book1.xls";
string format = "bmp";
string password = null;
string outPath = null;
string storageName = null;
string destFile = "Book1.bmp";
CellsApi cellsApi = new CellsApi(Environment.GetEnvironmentVariable("ProductClientId"), Environment.GetEnvironmentVariable("ProductClientSecret"));
using (Stream stream = cellsApi.CellsWorkbookPutConvertWorkbook(File.OpenRead(name), format, password, outPath, storageName))
{
using (Stream outStream = File.OpenWrite(destFile))
{
stream.CopyTo(outStream);
}
}
So verwenden Sie C# API, um XLS in BMP umzuwandeln
- Erstellen Sie ein Konto unterArmaturenbrett um kostenlose API Kontingent- und Autorisierungsdetails zu erhalten
- Initialisieren Sie CellsApi mit Client-ID, Client-Geheimnis, Basis-URL und API-Version
- Rufen Sie die CellsWorkbookPutConvertWorkbook-Methode auf, um den resultierenden Stream abzurufen
System Anforderungen
- NET Framework 4.5.2 oder neuer
- Net Standard 2.0 oder neuer