احفظ ملف EMF بتنسيق XLS في NodeJS
API
POST
https://api.aspose.cloud/v3.0/cells/{name}/SaveAs
يعد حفظ تنسيقات الملفات من EMF بتنسيق XLS مهمة معقدة. يتم تنفيذ جميع التحولات من تنسيق EMF إلى XLS بواسطة NodeJS SDK الخاص بنا مع الحفاظ على المحتوى الهيكلي والمنطقي الرئيسي لجدول البيانات EMF. تعد مكتبة NodeJS الخاصة بنا حلاً احترافيًا لحفظ EMF كملفات XLS عبر الإنترنت. يوفر Cloud SDK لمطوري NodeJS وظائف قوية ومخرجات XLS مثالية.
مثال على كود NodeJS لحفظ EMF كـ XLS باستخدام REST API
// For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-node/
const { CellsApi, CellsSaveAs_PostDocumentSaveAsRequest } = require("asposecellscloud");
const cellsApi = new CellsApi(process.env.ProductClientId, process.env.ProductClientSecret);
var req = new CellsSaveAs_PostDocumentSaveAsRequest({
name: "Book1.emf",
folder: "CellsTests",
newfilename: "Book1Saveas.xls",
});
cellsApi.cellsSaveAsPostDocumentSaveAs(req)
.then((result) => {
console.log(result)
});
كيفية استخدام Cells Cloud SDK للعقدة لحفظ Excel ملفًا بتنسيقات أخرى EMF بتنسيق XLS
- تسجيل حساب فيلوحة القيادة للحصول على تفاصيل الحصص والترخيص API مجانًا
- قم بتهيئة Cells API باستخدام معرف العميل وسر العميل وعنوان URL الأساسي وإصدار API.
- استخدم طريقة `PostWorkbookSaveAs` لاسترداد الدفق الناتج.
متطلبات النظام
- العقدة v6.17.1 أو الأحدث