Style Members (Word)
Represents a single built-in or user-defined style. The Style object includes style attributes (such as font, font style, and paragraph spacing) as properties of the Style object. The Style object is a member of the Styles collection. The Styles collection includes all the styles in the specified document.
Methods
Name |
Description |
---|---|
Deletes the specified style. |
|
Links the specified style to a list template so that the style's formatting can be applied to lists. |
Properties
Name |
Description |
---|---|
Returns an Application object that represents the Microsoft Word application. |
|
True if the style is automatically redefined based on the selection. Read/write Boolean. |
|
Returns or sets an existing style on which you can base the formatting of another style. Read/write Variant. |
|
Returns a Borders collection that represents all the borders for the specified style. |
|
True if the specified object is one of the built-in styles or caption labels in Word. Read-only Boolean. |
|
Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long. |
|
Returns the description of the specified style. Read-only String. |
|
Returns or sets a Font object that represents the character formatting of the specified style. Read/write Font. |
|
Returns a Frame object that represents the frame formatting for the specified style. Read-only. |
|
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. |
|
Returns or sets a WdLanguageID constant that represents the language for the specified range. Read/write. |
|
Returns or sets an East Asian language for the specified object. Read/write WdLanguageID. |
|
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. |
|
Sets or returns a Variant that represents a link between a paragraph and a character style. Read/write. |
|
Returns the list level for the specified style. Read-only Long. |
|
Returns a ListTemplate object that represents the list formatting for the specified Style object. |
|
True if a style cannot be changed or edited. Read/write Boolean. |
|
Returns the name of a built-in style in the language of the user. Read/write String. |
|
Returns or sets the style to be applied automatically to a new paragraph that is inserted after a paragraph formatted with the specified style. Read/write Variant. |
|
True if the spelling and grammar checker ignores text formatted with this style. Read/write Long. |
|
True for Microsoft Word to remove spacing between paragraphs that are formatted using the same style. Read/write Boolean. |
|
Returns or sets a ParagraphFormat object that represents the paragraph settings for the specified style. Read/write. |
|
Returns an Object that represents the parent object of the specified Style object. |
|
Returns or sets a Long that represents the priority for sorting styles in the Styles task pane. Read/write. |
|
Returns or sets a Boolean that represents whether the style corresponds to an available quick style. Read/write. |
|
Returns a Shading object that refers to the shading formatting for the specified object. |
|
Returns a TableStyle object representing properties that can be applied to a table using a table style. |
|
Returns the style type. Read-only WdStyleType. |
|
True if the specified style is made visible as a recommended style in the Styles and in theStyles task pane in Word 2010 after it is used in the document. Read/write. |
|
True if the specified style is visible as a recommended style in the Styles gallery and in theStyles task pane. Read/write. |