Layer Object Members
Visio Automation Reference |
Represents a layer of a page or master. You can assign shapes to or remove them from the layer.
Methods
Name | Description | |
---|---|---|
Add | Adds a Shape object to a Layer object. | |
Delete | Deletes a Layer object. Can also delete shapes assigned to the deleted layer. | |
Remove | Removes a shape from a layer. |
Properties
Name | Description | |
---|---|---|
Application | Read-only. Returns the instance of Microsoft Office Visio that is associated with an object. | |
CellsC | Returns a Cell object that represents a ShapeSheet cell in a row in the Layers section. 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. | |
Index | Gets the ordinal position of a Layer object in the Layers collection. Read-only. | |
Master | Returns the master that contains the Layer object. Read-only. | |
Name | Specifies the name of an object. Read-only. | |
NameU | Specifies the universal name of a Layer object. Read/write. | |
ObjectType | Returns an object's type. Read-only. | |
Page | Gets the page that contains the layer. Read-only. | |
PersistsEvents | Indicates whether an object is capable of containing persistent events in its EventList collection. Read-only. | |
Row | Returns the row index of a layer. Read-only. | |
Stat | Returns status information for an object. Read-only. |