Share via


Style Object Members

Word Developer Reference

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
Bb257945.methods(en-us,office.12).gif Delete Deletes the specified style.
Bb257945.methods(en-us,office.12).gif LinkToListTemplate Links the specified style to a list template so that the style's formatting can be applied to lists.

Properties

  Name Description
Bb257945.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb257945.properties(en-us,office.12).gif AutomaticallyUpdate True if the style is automatically redefined based on the selection. Read/write Boolean.
Bb257945.properties(en-us,office.12).gif BaseStyle Returns or sets an existing style on which you can base the formatting of another style. Read/write Variant.
Bb257945.properties(en-us,office.12).gif Borders Returns a Borders collection that represents all the borders for the specified style.
Bb257945.properties(en-us,office.12).gif BuiltIn True if the specified object is one of the built-in styles or caption labels in Word. Read-only Boolean.
Bb257945.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb257945.properties(en-us,office.12).gif Description Returns the description of the specified style. Read-only String.
Bb257945.properties(en-us,office.12).gif Font Returns or sets a Font object that represents the character formatting of the specified style. Read/write Font.
Bb257945.properties(en-us,office.12).gif Frame Returns a Frame object that represents the frame formatting for the specified style. Read-only.
Bb257945.properties(en-us,office.12).gif 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.
Bb257945.properties(en-us,office.12).gif LanguageID Returns or sets a WdLanguageID constant that represents the language for the specified range. Read/write.
Bb257945.properties(en-us,office.12).gif LanguageIDFarEast Returns or sets an East Asian language for the specified object. Read/write WdLanguageID.
Bb257945.properties(en-us,office.12).gif 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.
Bb257945.properties(en-us,office.12).gif LinkStyle Sets or returns a Variant that represents a link between a paragraph and a character style. Read/write.
Bb257945.properties(en-us,office.12).gif ListLevelNumber Returns the list level for the specified style. Read-only Long.
Bb257945.properties(en-us,office.12).gif ListTemplate Returns a ListTemplate object that represents the list formatting for the specified Style object.
Bb257945.properties(en-us,office.12).gif Locked True if a style cannot be changed or edited. Read/write Boolean.
Bb257945.properties(en-us,office.12).gif NameLocal Returns the name of a built-in style in the language of the user. Read/write String.
Bb257945.properties(en-us,office.12).gif NextParagraphStyle 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.
Bb257945.properties(en-us,office.12).gif NoProofing True if the spelling and grammar checker ignores text formatted with this style. Read/write Long.
Bb257945.properties(en-us,office.12).gif NoSpaceBetweenParagraphsOfSameStyle True for Microsoft Word to remove spacing between paragraphs that are formatted using the same style. Read/write Boolean.
Bb257945.properties(en-us,office.12).gif ParagraphFormat Returns or sets a ParagraphFormat object that represents the paragraph settings for the specified style. Read/write.
Bb257945.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified Style object.
Bb257945.properties(en-us,office.12).gif Priority Returns or sets a Long that represents the priority for sorting styles in the Styles task pane. Read/write.
Bb257945.properties(en-us,office.12).gif QuickStyle Returns or sets a Boolean that represents whether the style corresponds to an available quick style. Read/write.
Bb257945.properties(en-us,office.12).gif Shading Returns a Shading object that refers to the shading formatting for the specified object.
Bb257945.properties(en-us,office.12).gif Table Returns a TableStyle object representing properties that can be applied to a table using a table style.
Bb257945.properties(en-us,office.12).gif Type Returns the style type. Read-only WdStyleType.