ClearQuickStyleGallery
StyleCollection.ClearQuickStyleGallery method
Tar bort alla stilar från panelen Snabbstilsgalleri.
public void ClearQuickStyleGallery()
Exempel
Visar hur man tar bort stilar från panelen Stilgalleri.
Document doc = new Document();
// Observera att borttagning av stilar för närvarande endast fungerar med DOCX-format.
doc.Styles.ClearQuickStyleGallery();
doc.Save(ArtifactsDir + "Styles.RemoveStylesFromStyleGallery.docx");
Se även
- class StyleCollection
- namnutrymme Aspose.Words
- hopsättning Aspose.Words