Genel API Aspose.Cells 8.0.1'deki değişiklikler

Cells Sınıfına MemorySetting Özelliği Eklendi

Cells sınıfı, hücre verileri için bellek kullanımını optimize etmek ve böylece toplam bellek maliyetini azaltmak için kullanılabilecek setMemorySetting & getMemorySetting yöntemlerini kullanıma sundu. Aşağıdaki örnek, optimize edilmiş modda bir çalışma sayfasına büyük bir verinin nasıl yazılacağını gösterir.

Java

 //Instantiate a new Workbook

Workbook book = new Workbook();

//Set the memory preferences

book.getSettings().setMemorySetting(MemorySetting.MEMORY_PREFERENCE);

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

Cells cells = book.getWorksheets().get(0).getCells();

cells.setMemorySetting(MemorySetting.MEMORY_PREFERENCE);

//Input large dataset into the cells of the worksheet.

//Your code goes here