Document Solutions for Word
Document Solutions for Word
GrapeCity.Documents.Word Assembly
/
GrapeCity.Documents.Word Namespace
/
Style Class
/ Delete Method
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: Visual Basic (Declaration)
Language Filter: C#
Visual Basic (Declaration)
C#
In This Topic
Delete Method (Style)
In This Topic
Deletes the style from the document.
Syntax
Visual Basic
C#
'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
Reference
Style Class
Style Members