Document Solutions for Word
Demos
Docs
API
Pricing
Download
Document Solutions for Word
DS.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
Syntax
Remarks
See Also
Document Solutions for Word Overview
Key Features
Getting Started
Product Architecture
Features
Report Templates
Samples
API Reference
DS.Documents.Word Assembly
Overview
Namespaces
GrapeCity.Documents.Word Namespace
Overview
Classes
AbsentImageCodecException
AliasCollection
AlphaBiLevel
AlphaCeiling
AlphaFloor
AlphaInverse
AlphaModulation
AlphaModulationComplex
AlphaReplace
Backdrop
Bevel
BidirectionalOverride
BidirectionalOverrideCollection
BiLevel
Blur
Body
Bookmark
BookmarkCollection
BookmarkEnd
BookmarkStart
Border
BorderCollection
Break
BuildingBlock
BuildingBlockCollection
BuiltInPropertyCollection
BulletListPropertyException
Camera
CanvasShape
CanvasShapeCollection
Category
Cell
CellBorderCollection
CellCollection
CellFormat
CellPadding
CheckBoxSymbol
ColorBase
ColorChange
ColoredLine
ColorReplacement
ColorScheme
Comment
CommentCollection
CommentEnd
CommentInfo
CommentReference
CommentStart
CompatibilityOptions
ComplexField
ComplexFieldCollection
ComplexFieldCopyException
ConditionalStyle
ConditionalStyleCollection
ContentChildlessException
ContentCollection<T>
ContentControl
ContentControlCollection
ContentControlEndMark
ContentMark
ContentNotCloneableException
ContentNotSplittableException
ContentObject
ContentObjectCollection<T>
ContentRange
ContentRangeCollection<T>
ContinuationSeparatorMark
ControlContent
CopyService
CustomPropertyCollection
CustomXmlPart
CustomXmlPartCollection
DashStop
DashStopList
DataTemplateOptions
DefaultListStyleChangeException
DefaultMalformedUriRewriter
DefaultParagraphStyleChangeException
DefaultTableStyleChangeException
DocumentBase
DocumentProperty
DocumentPropertyCollection
DocumentProtection
DropCap
DropDownItem
DropDownItemCollection
Duotone
EastAsianLayout
EastAsianTypography
EdgeExtent
EditableRange
EditableRangeCollection
EditableRangeEnd
EditableRangeStart
EditProtection
EmbeddedFont
EmbeddedFontCollection
EmbeddedImageData
Endnote
EndnoteCollection
EndnoteOptions
EndnoteReferenceMark
Extensions
FieldChar
FieldCode
FieldCodeCollection
FillFormat
FillFormatList
FillOverlay
FindFormatting
FindOptions
FindReplaceException
FindReplaceOptions
FindResult
Font
FontBase
FontInfo
FontInfoCollection
FontScheme
FontSignature
Footnote
FootnoteCollection
FootnoteOptions
FootnoteReferenceMark
FormatScheme
FormattedContentObject
FormattedMark
FormattingBag
FormattingBagList<T>
GcWordDocument
GcWordDocumentExt
GlossaryDocument
Glow
GradientFill
GradientStop
GradientStopList
Grayscale
GroupEditor
GroupShape
GroupShapeCollection
HeaderFooter
HeaderFooterCollection
HslEffect
Hyperlink
HyperlinkCollection
HyperlinkOnAction
HyphenationOptions
ImageData
ImageEffect
ImageEffectList
Indentation
InkShape
InkShapeCollection
InlineRichText
InnerShadow
InReadingModeException
InvalidConditionalTemplateInTable
InvalidContentControlChildControlException
InvalidContentControlChildException
InvalidContentControlLevelChildException
InvalidContentControlLevelParentChildException
InvalidContentControlParentChildException
InvalidContentControlSingleCharException
InvalidContentControlSingleChildException
InvalidContentControlTypeException
InvalidFillException
InvalidInsertPositionException
InvalidParentContentException
InvalidRangePositionException
InvalidSiblingsTemplateDispositionException
InvalidSplitPositionException
InvalidTemplateFormatException
InvalidTemplateStructureException
IsReadOnlyException
LastRenderedPageBreak
Lighting
LineEnd
LineFormat
LineFormatBase
LineFormatList
LineNumbering
LinkedTextFrame
ListFormat
ListLevel
ListLevelCollection
ListTemplate
ListTemplateCollection
Luminance
Marker
MatchDetails
MathMLConverter
MergeContentException
MultiPagePrinting
NestedShapePropertyException
NotSupportedByWrapTypeException
OMath
OMathAccent
OMathBar
OMathBorderBox
OMathBox
OMathCollection
OMathDelimiter
OMathElement
OMathElementCollection
OMathEquationArray
OMathFormat
OMathFraction
OMathFunction
OMathGroupCharacter
OMathLimitLower
OMathLimitUpper
OMathMatrix
OMathMatrixColumn
OMathMatrixColumnCollection
OMathMatrixRow
OMathMatrixRowCollection
OMathNary
OMathOptions
OMathParagraph
OMathParagraphCollection
OMathPhantom
OMathPreSubSuperscript
OMathRadical
OMathStruct
OMathStructCollection
OMathSubscript
OMathSubSuperscript
OMathSuperscript
OuterShadow
PageBorderCollection
PageGrid
PageMargin
PageNumbering
PageSetup
PageSize
PaperSource
Paragraph
ParagraphBorderCollection
ParagraphCollection
ParagraphFindReplaceExtensions
ParagraphFormat
ParagraphMark
ParagraphRevisionId
Password
PatternFill
PersistentRange
Picture
PictureBullet
PictureBulletCollection
PictureCollection
Point3D
PreferredWidth
PresetShadow
PropertyNullOrWhiteSpaceException
Range
RangeBase
RangeBaseFindReplaceExtensions
RangeEditor
Reflection
ReplacedArgs
ReplacingArgs
RevisionId
Rotation
Row
RowCollection
RowFormat
RowRevisionId
Run
RunCollection
RunRevisionId
SaveOptions
Section
SectionBreak
SectionCollection
SectionRevisionId
SeparatorMark
Settings
Shading
ShadowBase
Shape
ShapeBase
ShapeCollection
ShapeEffectAbsentColorException
ShapeEffects
ShapeEffectsList
ShapeHeight
ShapeHorizontalPosition
ShapePosition
ShapeRotation
ShapeSize
ShapeStyle
ShapeStyleNotSupportedException
ShapeVerticalPosition
ShapeWidth
SimpleField
SimpleFieldCollection
SoftEdge
SolidColor
Spacing
Style
Overview
Members
Methods
Delete Method
Properties
Aliases Property
AutomaticallyUpdate Property
BaseStyle Property
BuiltIn Property
BuiltInId Property
Document Property
Font Property
InUse Property
Linked Property
LinkStyle Property
ListFormat Property
ListTemplate Property
Locked Property
Name Property
NextParagraphStyle Property
ParagraphFormat Property
Priority Property
QuickStyle Property
RevisionId Property
Table Property
Type Property
UnhideWhenUsed Property
Visibility Property
WordName Property
StyleCollection
StyleEffects
StyleFill
StyleLine
Symbol
Tab
Table
TableBorderCollection
TableCollection
TableFormat
TableFormatBase
TableHorizontalPosition
TablePosition
TableStyle
TableStyleBase
TableVerticalPosition
TabStop
TabStopCollection
Text
TextCollection
TextColumn
TextColumnCollection
TextEffects
TextFrame
TextFrameCollection
TextFrameFormat
Theme
ThemeColor
ThemeFont
ThemeFontCollection
ThreeDFormat
ThreeDScene
TileFill
Tint
UnknownContent
UnknownContentCollection
UnsupportedMethodException
UserColor
UserEditor
Variable
VariableCollection
Vector3D
VectorGraphicImageData
ViewOptions
WeakStyleCopier
WebVideoProperties
WordColor
WrapFormat
XmlMapping
Enumerations
BaseLineAlignment
BevelType
BiDirection
BlackWhiteMode
BlendMode
BodyType
BreakClear
BreakType
BuildingBlockGallery
BuildingBlockInsertOptions
BuildingBlockType
BuiltInGlowId
BuiltInListTemplateId
BuiltInReflectionId
BuiltInShadowId
BuiltInStyleId
CalendarType
CameraPreset
CellMerge
CellVerticalAlignment
ChapterSeparator
CompoundLineType
ContentControlAppearance
ContentControlLevel
ContentControlType
CryptographicAlgorithmSid
DataTemplateExpressionIncompatibleTypesHandling
DataTemplateExpressionNullsHandling
DataTemplateMissingFieldsHandling
DateStorageFormat
DisplacedByCustomXml
DocumentSecurity
DocumentType
DropCapPosition
EditorGroup
EditProtectionMode
EmbeddedFontType
EmphasisMark
EndnoteLocation
EndnoteNumberingRule
FieldCharType
FillType
FontCharSet
FontDataType
FontEffectsPreset
FontEmbedMode
FontFamily
FontHintType
FontPitch
FootnoteLocation
FootnoteNumberingRule
FormattingCopyStrategy
GeometryType
GradientLinearDirection
GradientPathDirection
GradientPreset
GradientType
GutterPosition
HeaderFooterType
HeightRule
HighlightColor
ImageCompression
ImageEffectType
ImageFillType
InsertLocation
JustificationMode
LayoutMode
Ligatures
LightRigDirection
LightRigType
LineCapType
LineDashType
LineEndLength
LineEndType
LineEndWidth
LineJoinType
LineNumberRestartMode
LineSpacingRule
LineStyle
ListLevelAlignment
ListTrailingCharacter
LocationRelation
MarkerType
MaterialType
MultiPagePrintingType
NumberForm
NumberSpacing
NumberStyle
OMathBreakBinaryOperator
OMathBreakBinarySubtraction
OMathBuiltInEquation
OMathElementType
OMathFractionType
OMathHorizontalAlignment
OMathJustification
OMathLimitLocation
OMathMode
OMathScript
OMathShapeDelimiter
OMathSpacingRule
OMathStructType
OMathVerticalAlignment
OMathVerticalJustification
OutlineLevel
PageBorderAppliesTo
PageBorderOffsetFrom
PageOrientation
PaperSize
PaperTray
ParagraphAlignment
PasswordValidationResult
PatternFillType
PenAlignment
PicturePreset
PreferredWidthType
PresetShadowType
PropertyType
RangeLocation
RecolorType
RectangleAlignment
ReplaceAction
SaveFontInfos
SectionStart
ShapeEffectsPreset
ShapeHorizontalRelativeAlignment
ShapeHorizontalRelativePosition
ShapePositionType
ShapePresetFillType
ShapeVerticalRelativeAlignment
ShapeVerticalRelativePosition
SizeRelativeHorizontally
SizeRelativeVertically
StyleType
StyleVisibility
StylisticSets
TabAlignment
TabLeader
TableAlignment
TableHorizontalRelativeAlignment
TableHorizontalRelativePosition
TablePositionType
TableStyleOptions
TableStyleOverride
TableVerticalRelativeAlignment
TableVerticalRelativePosition
TabRelativeTo
TabStopAlignment
TabStopLeader
TagResult
TemplateCopyModeEnum
TextAnimation
TextboxTightWrap
TextFlowDirection
TextOrientation
TexturePattern
TextVerticalAnchor
TextWrapFormat
ThemeColorId
ThemeColorSchemeId
ThemeFontType
TileFlipMode
TwoLinesInOneBrackets
Underline
VerticalAlignment
VerticalTextPosition
ViewType
WebExtensionRelationship
WordVersion
WrapSide
WrapType
ZoomType
Structures
LineShapePreset
ShapePreset
ThemedLineStyle
ThemedShapeStyle
Interfaces
IBrowsable<T>
IContentList<T>
IFixedFormattingBag
IMalformedUriRewriter
Delegates
OnLoadInvalidUriHandler
OnSaveInvalidUriHandler
GrapeCity.Documents.Word.Fields Namespace
Overview
Classes
BaseFieldOptions
FieldFormatOptions
OutlineLevelRange
PageFieldOptions
PageRefFieldOptions
SectionFieldOptions
SectionPagesFieldOptions
SeqFieldOptions
TcFieldOptions
TocEntryFormatting
TocFieldOptions
TocPageNumberOptions
TocSeqOptions
TocStyleLevel
TocStyleLevelCollection
TocTcOptions
Enumerations
ResultFormat
SeqFieldBehavior
StringStyle
Interfaces
IFieldOptions
GrapeCity.Documents.Word.Layout Namespace
Overview
Classes
BlockElement
CellContent
GcWordLayout
GroupShapeFragment
ImageOutputSettings
LayoutElement
ObjectFragment
Page
PageColumn
PageSection
PdfOutputSettings
PictureFragment
ShapeFragment
SharedGroupShape
SharedObject
SharedPicture
SharedShape
TableCell
TableColumn
TableFragment
TableGridColumn
TableGridRow
TableRow
TextFragment
WordLayoutException
WordLayoutSettings
Enumerations
RowHeightRule
WordCommentMode
Delegates
PostLayoutDelegate
GrapeCity.Documents.Word.Templates Namespace
Overview
Classes
DataSourceDictionary
DataTemplate
TemplateError
Release Notes
Delete Method (Style)
In This Topic
Syntax
Remarks
See Also
Deletes the style from the document.
Syntax
Visual Basic
C#
public void Delete()
'Declaration 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.
See Also
Reference
Style Class
Style Members