StyleCollection class doesn't exist in Aspose 21.8.0.0

Can you please check why StyleCollection class doesn’t exist in Aspose version 21.8.0.0, whereas in version 7.1.0.0 it exists? Our code has a dependency of that class - can you please help?
Aspose 21.8.0.0
image.png (107.1 KB)
Aspose 7.1.0.0
image.png (180.6 KB)

@PramodHegde,

Please note, we removed Workbook.Styles attribute and StyleCollection class some years ago (we obsoleted/removed these APIs from v8.3.x as it was announced in the Release Notes document). It is advised to use the Workbook.CreateStyle method to create and manipulate style for Workbook instance instead of creating a Style with StyleCollection.Add method. Moreover, Workbook.GetNamedStyle(string) method can be used to get named style instead of StyleCollection[string].

Hope, this helps a bit.