Share via


Style Object Members

Visio Automation Reference

Represents a style defined in a document.

Methods

  Name Description
Aa342284.methods(en-us,office.12).gif Delete Deletes an object.
Aa342284.methods(en-us,office.12).gif GetFormulas Returns the formulas of many cells.
Aa342284.methods(en-us,office.12).gif GetFormulasU Returns the formulas of many cells.
Aa342284.methods(en-us,office.12).gif GetResults Gets the results or formulas of many cells.
Aa342284.methods(en-us,office.12).gif SetFormulas Sets the formulas of one or more cells.
Aa342284.methods(en-us,office.12).gif SetResults Sets the results or formulas of one or more cells.

Properties

  Name Description
Aa342284.properties(en-us,office.12).gif Application Read-only. Returns the instance of Microsoft Office Visio that is associated with an object.
Aa342284.properties(en-us,office.12).gif BasedOn Gets or sets the style on which a Style object is based. Read/write.
Aa342284.properties(en-us,office.12).gif CellExists Determines whether a particular ShapeSheet cell exists in the scope of the search. Read-only.
Aa342284.properties(en-us,office.12).gif CellExistsU Determines whether a particular ShapeSheet cell exists in the scope of the search. Read-only.
Aa342284.properties(en-us,office.12).gif Cells Returns a Cell object that represents a ShapeSheet cell. Read-only.
Aa342284.properties(en-us,office.12).gif CellsSRC Returns a Cell object that represents a ShapeSheet cell identified by section, row, and column indices. Read-only.
Aa342284.properties(en-us,office.12).gif CellsSRCExists Determines whether a ShapeSheet cell exists in the scope of a search. Read-only.
Aa342284.properties(en-us,office.12).gif CellsU Returns a Cell object that represents a ShapeSheet cell. Read-only.
Aa342284.properties(en-us,office.12).gif Document Gets the Document object that is associated with an object. Read-only.
Aa342284.properties(en-us,office.12).gif EventList Returns the EventList collection of an object or the EventList collection that contains an Event object. Read-only.
Aa342284.properties(en-us,office.12).gif FillBasedOn Gets or sets the fill style on which the Style object is based. Read/write.
Aa342284.properties(en-us,office.12).gif Hidden Hides or shows a master on a stencil or a style in the user interface. Read/write.
Aa342284.properties(en-us,office.12).gif ID Gets the ID of an object. Read-only.
Aa342284.properties(en-us,office.12).gif IncludesFill Indicates whether the style includes fill attributes. Read/write.
Aa342284.properties(en-us,office.12).gif IncludesLine Indicates whether the style includes line attributes. Read/write.
Aa342284.properties(en-us,office.12).gif IncludesText Indicates whether the style includes text attributes. Read/write.
Aa342284.properties(en-us,office.12).gif Index Gets the ordinal position of a Style object in the Styles collection. Read-only.
Aa342284.properties(en-us,office.12).gif LineBasedOn Gets or sets the line style on which a Style object is based. Read/write.
Aa342284.properties(en-us,office.12).gif Name Specifies the name of an object. Read-only.
Aa342284.properties(en-us,office.12).gif NameU Specifies the universal name of a Style object. Read/write.
Aa342284.properties(en-us,office.12).gif ObjectType Returns an object's type. Read-only.
Aa342284.properties(en-us,office.12).gif PersistsEvents Indicates whether an object is capable of containing persistent events in its EventList collection. Read-only.
Aa342284.properties(en-us,office.12).gif Section Returns the requested Section object belonging to a style. Read-only.
Aa342284.properties(en-us,office.12).gif Stat Returns status information for an object. Read-only.
Aa342284.properties(en-us,office.12).gif TextBasedOn Gets or sets the text style on which a Style object is based. Read/write.

Events

  Name Description
Aa342284.events(en-us,office.12).gif BeforeStyleDelete Occurs before a style is deleted.
Aa342284.events(en-us,office.12).gif 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.
Aa342284.events(en-us,office.12).gif 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.
Aa342284.events(en-us,office.12).gif StyleDeleteCanceled Occurs after an event handler has returned True (cancel) to a QueryCancelStyleDelete event.