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

Free Support Forum - aspose.com

Setkeepexactformat deprecated

Hi.
I’m using version 18.10 of aspose cells and need setkeepexactformat to false for expected behaviour.
But it’s deprecated and i cannot find why or which method to use instead.
The 2 topics i found regarding this method are from year 2014.
Please help :slight_smile:

Nvm, i found it… options.setLoadStyleStrategy(TxtLoadStyleStrategy.BUILT_IN);

@sillastrypare,

Yes, you got it right.

Please set LoadStyleStrategy property to TxtLoadStyleStrategy.BuiltIn to get same result with this (older) property’s false value and TxtLoadStyleStrategy.ExactFormat to get same result with this (older) property’s true value.