Speichern Sie XML unter PNG

PHP-Bibliothek zum Speichern von XML als PNG

Verwenden Sie SaveAs API von Cells Cloud, um benutzerdefinierte Tabellenkalkulations-Workflows in PHP zu erstellen. Dies ist eine professionelle Lösung, um XML als PNG und andere Dokumentformate online mit PHP zu speichern.

Speichern Sie eine XML-Datei als PNG in PHP

API
POST
https://api.aspose.cloud/v3.0/cells/{name}/SaveAs

Das Speichern von Dateiformaten aus XML als PNG ist eine komplexe Aufgabe. Alle XML-Formatübergänge in das PNG-Format werden von unserem PHP-SDK durchgeführt, wobei der strukturelle und logische Hauptinhalt der XML-Quelltabelle erhalten bleibt. Unsere PHP-Bibliothek ist eine professionelle Lösung, um XML als PNG-Dateien online zu speichern. Dieses Cloud SDK bietet PHP Entwicklern leistungsstarke Funktionalität und eine perfekte PNG Ausgabe.

PHP Codebeispiel zum Speichern von XML als PNG mit REST API

// For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-php/
    $apiInstance = new CellsApi( getenv("ProductClientId"),getenv("ProductClientSecret") );
    $name ='Book1.xml';
    $saveOptions =new \Aspose\Cells\Cloud\Model\SaveOptions();
    $saveOptions->SaveFormat = "png";
    $newfilename = "Book1Saveas.png";
    $isAutoFitRows= 'true';
    $isAutoFitColumns= 'true';
    $folder = "Temp";
    $result = $apiInstance->cellsSaveAsPostDocumentSaveAs($name, $saveOptions, $newfilename,$isAutoFitRows, $isAutoFitColumns, $folder);

So speichern Sie XML als PNG mithilfe der Cells Cloud PHP-Bibliothek.

  1. Registrieren Sie ein Konto unterArmaturenbrett um ein kostenloses API-Kontingent und Autorisierungsdetails zu erhalten
  2. Installieren Sie die Bibliothek PHP und fügen Sie die Referenz (importieren Sie die Bibliothek) zu Ihrem Projekt hinzu.
  3. Öffnen Sie die Quelldatei in PHP.
  4. Verwenden Sie die Methode `PostWorkbookSaveAs`, um den resultierenden Stream abzurufen.

System Anforderungen

  1. PHP 7.4 oder neuer