Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / Style Class / Delete Method

In This Topic
    Delete Method (Style)
    In This Topic
    Deletes the style from the document.
    Syntax
    'Declaration
     
    Public Sub Delete() 
    public void 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.
    See Also