Style Object [Visio 2003 SDK Documentation]
Multiple objects Style Multiple objects |
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.
Properties | BasedOn property | CellExists property | CellExistsU property | Cells property | CellsSRC property | CellsSRCExists property | CellsU property | Document property | EventList property | FillBasedOn property | Hidden property | ID property | IncludesFill property | IncludesLine property | IncludesText property | Index property | LineBasedOn property | Name property | NameU property | ObjectType property | PersistsEvents property | Section property | Stat property | TextBasedOn property
Methods | Delete method | GetFormulas method | GetFormulasU method | GetResults method | SetFormulas method | SetResults method
Events | BeforeStyleDelete event | QueryCancelStyleDelete event | StyleChanged event | StyleDeleteCanceled event
Parent Objects | Cell Object | Row Object | Section Object | Styles Collection
Child Objects | Cell Object | Document Object | EventList Object | Section Object
See Also | Cells property | CellsSRC property | Document object | FillStyle property | LineStyle property | Styles collection | TextStyle property