clearQuickStyleGallery method
clearQuickStyleGallery()
Removes all styles from the Quick Style Gallery panel.
clearQuickStyleGallery()
Examples
Shows how to remove styles from Style Gallery panel.
let doc = new aw.Document();
// Note that remove styles work only with DOCX format for now.
doc.styles.clearQuickStyleGallery();
doc.save(base.artifactsDir + "Styles.RemoveStylesFromStyleGallery.docx");
See Also
- module Aspose.Words
- class StyleCollection