Page 1 of 1

Remove default styles

Posted: Tue Feb 05, 2019 8:11 pm
by Hertony

Is it possible to remove all default styles before adding more styles?
I know that it is possible to replace all default styles, by name, using the method CreateStyle (from ApiDocument), and then renaming the new style with SetName (from ApiStyle). Since such solution forces us to have at least the same number of default styles (18 or so), is there a better way?