Export (0) Print
Expand All

Style object

Style object

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

http://msdn.microsoft.com/en-us/library/aa164299(v=office.10) See also         http://msdn.microsoft.com/en-us/library/aa164298(v=office.10) Properties         http://msdn.microsoft.com/en-us/library/aa164296(v=office.10) Methods         http://msdn.microsoft.com/en-us/library/aa164294(v=office.10) Events

Documents (Document)Styles (Style)Cell

Represents a style defined in a document.

You retrieve a particular style from the Styles collection of a Document object.

Version added

2.0

Remarks

The default property of a Style object is Name.

Any Shape object to which a style is applied inherits the attributes defined by the style. Use the LineStyle, FillStyle, TextStyle, or Style property of a Shape object to apply a style to a shape or to determine what style is applied to a shape.

Like a Shape object, a Style object has cells whose formulas define the values of the style's attributes. To retrieve one of these cells, use the Cells or CellsSRC property of the Style object.

Show:
© 2014 Microsoft