Master Properties (Visio)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Properties

Name

Description

AlignName

Gets or sets the position of a master name in a stencil window. Read/write.

Application

Returns the instance of Microsoft Visio that is associated with an object. Read-only.

BaseID

Returns a base ID for a master. Read-only.

Connects

Returns a Connects collection for a shape, page, or master. Read-only.

DataGraphicHidden

Hides or displays a data graphic in the Data Graphics task pane in the Microsoft Visio user interface. Read/write.

DataGraphicHidesText

Displays or hides the text of a shape or of the primary shape in a selection when a data graphic is applied to the shape or to the selection. Read/write.

DataGraphicHorizontalPosition

Gets or sets the default horizontal callout position for members of the GraphicItems collection of the Master object of type visTypeDataGraphic. Read/write.

DataGraphicShowBorder

Gets or sets whether a border is displayed around the graphic items contained in the data graphic that are in default positions. Read/write.

DataGraphicVerticalPosition

Gets or sets the default vertical callout position for members of the GraphicItems collection of the Master object of type visTypeDataGraphic. Read/write.

Document

Gets the Document object that is associated with an object. Read-only.

EditCopy

Returns a master that is open for editing and originally copied from this master. Read-only.

EventList

Returns the EventList collection of an object or the EventList collection that contains an Event object. Read-only.

GraphicItems

Returns the GraphicItems collection that the master contains. Read-only.

Hidden

Hides or shows a master on a stencil or a style in the user interface. Read/write.

Icon

Returns the icon contained in a master. Read/write.

IconSize

Gets or sets the size of a master icon. Read/write.

IconUpdate

Determines whether a master icon is updated manually or automatically. Read/write.

ID

Gets the ID of an object. Read-only.

Index

Gets the ordinal position of a Master object in the Masters collection. Read-only.

IndexInStencil

Gets or sets the index of a master or master shortcut object within its stencil. Read/write.

IsChanged

Indicates whether a master has changed since it was opened. Read-only.

Layers

Returns the Layers collection of an object. Read-only.

MatchByName

Determines how the application decides if a document master is already present when an instance of a master is dropped on the drawing page. It allows changes made to a document master to apply to new instances of the master, even if the instances are dragged from a stand-alone stencil file. Read/write.

Name

Specifies the name of an object. Read-only.

NameU

Specifies the universal name of a Master object. Read/write.

NewBaseID

Generates a new base ID for a master. Read-only.

ObjectType

Returns an object's type. Read-only.

OLEObjects

Returns the OLEObjects collection of a master. Read-only.

OneD

Determines whether an object behaves as a one-dimensional (1-D) object. Read-only.

Original

Returns the original master that produced this open master. Read-only.

PageSheet

Returns the page sheet (an object that represents the ShapeSheet spreadsheet) of a master. Read-only.

PatternFlags

Determines whether a master behaves as a custom pattern. Read/write.

PersistsEvents

Indicates whether an object is capable of containing persistent events in its EventList collection. Read-only.

Picture

Returns a picture that represents an enhanced metafile (EMF) contained in a master, shape, selection, or page. Read-only.

Prompt

Gets or sets the prompt string for a master or master shortcut. Read/write.

Shapes

Returns the Shapes collection for a page, master, or group. Read-only.

SpatialSearch

Returns a Selection object whose shapes meet certain criteria in relation to a point that is expressed in the coordinate space of a page, master, or group. Read-only.

Stat

Returns status information for an object. Read-only.

Type

Returns the type of the Master object. Read-only.

UniqueID

Returns the unique ID of a master. Read-only.