Style Members

Include Protected Members
Include Inherited Members

Represents a single built-in or user-defined style.

The Style type exposes the following members.

Methods

  Name Description
Public method Delete Deletes the specified object.
Public method LinkToListTemplate Links the specified style to a list template so that the style's formatting can be applied to lists.

Top

Properties

  Name Description
Public property Application Returns a Application object that represents the Microsoft Word application.
Public property AutomaticallyUpdate True if the style is automatically redefined based on the selection. False if Microsoft Word prompts for confirmation before redefining the style based on the selection. Read/write Boolean.
Public property BaseStyle Returns or sets an existing style on which you can base the formatting of another style. Read/write Object.
Public property Borders Returns a Borders collection that represents all the borders for the specified object.
Public property BuiltIn True if the specified object is one of the built-in styles or caption labels in Microsoft Word. Read-only Boolean.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Integer.
Public property Description Returns the description of the specified style. Read-only String.
Public property Font Returns or sets a Font object that represents the character formatting of the specified object. Read/write Font.
Public property Frame Returns a Frame object that represents the frame formatting for the specified style. Read-only.
Public property Hidden Reserved for internal use.
Public property InUse True if the specified style is a built-in style that has been modified or applied in the document or a new style that has been created in the document. Read-only Boolean.
Public property LanguageID Returns or sets the language for the specified object. Read/write.
Public property LanguageIDFarEast Returns or sets an East Asian language for the specified object.
Public property Linked Returns or sets a Boolean that represents whether a style is a linked style that can be used for both paragraph and character formatting. Read-only.
Public property LinkStyle Sets or returns an Object that represents a link between a paragraph and a character style. Read/write.
Public property ListLevelNumber Returns the list level for the specified style. Read-only Integer.
Public property ListTemplate Returns a ListTemplate object that represents the list formatting for the specified Style object.
Public property Locked True if the specified style is locked.
Public property NameLocal Returns the name of a built-in style in the language of the user. Read/write String.
Public property NextParagraphStyle Returns or sets the style to be applied automatically to a new paragraph inserted after a paragraph formatted with the specified style. Read/write Object.
Public property NoProofing True if the spelling and grammar checker ignores text formatted with this style. Read/write Integer.
Public property NoSpaceBetweenParagraphsOfSameStyle True for Microsoft Word to remove spacing between paragraphs that are formatted using the same style. Read/write Boolean.
Public property ParagraphFormat Returns or sets a ParagraphFormat object that represents the paragraph settings for the specified style. Read/write.
Public property Parent Returns an object that represents the parent object of the specified object.
Public property Priority Returns or sets a Integer that represents the priority for sorting styles in the Styles task pane. Read/write.
Public property QuickStyle Returns or sets a Boolean that represents whether the style corresponds to an available quick style. Read/write.
Public property Shading Returns a Shading object that refers to the shading formatting for the specified object.
Public property Table Returns a TableStyle object representing properties that can be applied to a table using a table style.
Public property Type Returns the style type. Read-only Style.
Public property UnhideWhenUsed Set True to clear the Hidden property when this style is used.
Public property Visibility Reserved for internal use.

Top

See Also

Reference

Style Interface

Microsoft.Office.Interop.Word Namespace