Style object (Visio)
Represents a style defined in a document.
You retrieve a particular style from the Styles collection of a Document object.
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.
- Application
- BasedOn
- CellExists
- CellExistsU
- Cells
- CellsSRC
- CellsSRCExists
- CellsU
- Document
- EventList
- FillBasedOn
- Hidden
- ID
- IncludesFill
- IncludesLine
- IncludesText
- Index
- LineBasedOn
- Name
- NameU
- ObjectType
- PersistsEvents
- Section
- Stat
- TextBasedOn
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.