Style Object Members
Visio Automation Reference |
Represents a style defined in a document.
Methods
Name | Description | |
---|---|---|
Delete | Deletes an object. | |
GetFormulas | Returns the formulas of many cells. | |
GetFormulasU | Returns the formulas of many cells. | |
GetResults | Gets the results or formulas of many cells. | |
SetFormulas | Sets the formulas of one or more cells. | |
SetResults | Sets the results or formulas of one or more cells. |
Properties
Name | Description | |
---|---|---|
Application | Read-only. Returns the instance of Microsoft Office Visio that is associated with an object. | |
BasedOn | Gets or sets the style on which a Style object is based. Read/write. | |
CellExists | Determines whether a particular ShapeSheet cell exists in the scope of the search. Read-only. | |
CellExistsU | Determines whether a particular ShapeSheet cell exists in the scope of the search. Read-only. | |
Cells | Returns a Cell object that represents a ShapeSheet cell. Read-only. | |
CellsSRC | Returns a Cell object that represents a ShapeSheet cell identified by section, row, and column indices. Read-only. | |
CellsSRCExists | Determines whether a ShapeSheet cell exists in the scope of a search. Read-only. | |
CellsU | Returns a Cell object that represents a ShapeSheet cell. Read-only. | |
Document | Gets the Document object that is associated with an object. Read-only. | |
EventList | Returns the EventList collection of an object or the EventList collection that contains an Event object. Read-only. | |
FillBasedOn | Gets or sets the fill style on which the Style object is based. Read/write. | |
Hidden | Hides or shows a master on a stencil or a style in the user interface. Read/write. | |
ID | Gets the ID of an object. Read-only. | |
IncludesFill | Indicates whether the style includes fill attributes. Read/write. | |
IncludesLine | Indicates whether the style includes line attributes. Read/write. | |
IncludesText | Indicates whether the style includes text attributes. Read/write. | |
Index | Gets the ordinal position of a Style object in the Styles collection. Read-only. | |
LineBasedOn | Gets or sets the line style on which a Style object is based. Read/write. | |
Name | Specifies the name of an object. Read-only. | |
NameU | Specifies the universal name of a Style object. Read/write. | |
ObjectType | Returns an object's type. Read-only. | |
PersistsEvents | Indicates whether an object is capable of containing persistent events in its EventList collection. Read-only. | |
Section | Returns the requested Section object belonging to a style. Read-only. | |
Stat | Returns status information for an object. Read-only. | |
TextBasedOn | Gets or sets the text style on which a Style object is based. Read/write. |
Events
Name | Description | |
---|---|---|
BeforeStyleDelete | Occurs before a style is deleted. | |
QueryCancelStyleDelete | Occurs before the application deletes a style in response to a user action in the interface. If any event handler returns True, the operation is canceled. | |
StyleChanged | Occurs after the name of a style is changed or a change to the style propagates to objects to which the style is applied. | |
StyleDeleteCanceled | Occurs after an event handler has returned True (cancel) to a QueryCancelStyleDelete event. |