تحويل XLSM إلى WMF

مكتبة C# لتحويل XLSM إلى WMF

استخدم التحويل API من Cells Cloud لإنشاء سير عمل جدول بيانات مخصص في مشاريع Net. يعد هذا حلاً احترافيًا لتحويل XLSM إلى WMF وتنسيقات المستندات الأخرى عبر الإنترنت باستخدام C#.

تحويل XLSM إلى WMF باستخدام Cells Cloud SDK لـ C#

API
PUT
https://api.aspose.cloud/v3.0/cells/convert

يمكن أن يكون تحويل تنسيقات الملفات من XLSM إلى WMF مهمة معقدة. يتعامل SDK C# الخاص بنا مع جميع تحويلات تنسيق XLSM إلى WMF مع الحفاظ على المحتوى الهيكلي والمنطقي الرئيسي لجدول بيانات XLSM المصدر. توفر مكتبتنا C# حلاً احترافيًا لتحويل ملفات XLSM إلى WMF عبر الإنترنت. يعمل Cloud SDK على تمكين مطوري C# من الحصول على وظائف قوية ويضمن إخراج WMF عالي الجودة.

C# مثال على الكود لتحويل XLSM إلى WMF باستخدام Cells Cloud SDK

    // For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-dotnet/
    string name = "Book1.xlsm";
    string format = "wmf";
    string password = null;
    string outPath = null;
    string storageName = null;
    string destFile = "Book1.wmf";
    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);
        }
    }

تعرف على كيفية تحويل XLSM إلى WMF باستخدام مكتبة Cloud Net Cells.

  1. تسجيل حساب فيلوحة القيادة للحصول على تفاصيل الحصص والترخيص API مجانًا
  2. قم بتثبيت مكتبة C# وأضف المرجع (استيراد المكتبة) إلى مشروعك.
  3. افتح الملف المصدر في C#
  4. استخدم طريقة `PutConvertWorkbook` لاسترداد الدفق الناتج.

متطلبات النظام

  1. NET Framework 4.5.2 أو أحدث
  2. نت ستاندرد 2.0 أو أحدث