[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Style.Delete

Delete Method

Delete()

Deletes the style from the document.

Declaration
public void Delete()
Public Sub Delete()
Remarks

Style removal has following effects on the document model:

  • All references to the style are removed from corresponding paragraphs, runs and tables.
  • If a base style is removed, its formatting is moved to child styles.
  • If the style to be deleted has a linked style, then both styles are deleted.