API العام التغييرات في Aspose.Cells 8.0.1

تمت إضافة خاصية MemorySetting إلى Cells Class

تعرض الفئة Cells خاصية MemorySetting التي يمكن استخدامها لتحسين استخدام الذاكرة لبيانات الخلايا ، وبالتالي تقليل التكلفة الإجمالية للذاكرة. يوضح المثال التالي كيفية كتابة بيانات كبيرة إلى ورقة عمل في الوضع الأمثل.

C#

 //Instantiate a new Workbook

Workbook book = new Workbook();

//Set the memory preferences

book.Settings.MemorySetting = MemorySetting.MemoryPreference;

//To change the memory setting of existing sheets, please change memory setting for them manually:

Cells cells = book.Worksheets[0].Cells;

cells.MemorySetting = MemorySetting.MemoryPreference;

//Input large dataset into the cells of the worksheet

//Your code goes here

لن تعمل إعدادات الذاكرة للورقة الافتراضية التي تم إنشاؤها تلقائيًا بواسطة كائن المصنف. لتغيير إعدادات الذاكرة للأوراق الموجودة ، يرجى تطبيق إعداد الذاكرة يدويًا قبل إجراء أي معالجة للبيانات.