We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Multiple styles applied on a cell

Hi Aspose,


Is it possible to apply different styles on the same cell ?
I mean I have 2 styles, 1 provides the color for the background and 1 the currency format.
I wish to apply those styles on the same cell.

Regards

Hi,

Thanks for your posting and considering Aspose.Cells.

I think, that’s not possible. You can only use a single Style object to apply different type of formats to a a cell.

Hi,

Please try the SetStyle(Style style, bool explicitFlag) overload, this method only applies modified settings of the style to the cell. It may fit your needs.

Hi,

I wish to use the styles provided by Excel, they are not modified.
I tried that function but it didn’t work.

Regards

Hi,


For SetStyle() method, please give us a sample code with Excel files (input + output etc.), we will check it soon.

Thank you.