Master Methods (Visio)
Contribute to this content Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation. |
Methods
Name |
Description |
---|---|
Adds a guide to a master. |
|
Returns a rectangle that tightly encloses the shapes of a master. |
|
Centers a page's, master's, or group's shapes with respect to the extent of the page, master, or group. . |
|
Closes a master. |
|
Creates various types of Selection objects. |
|
Creates a shortcut for a master. |
|
Deletes the Master of type visTypeDataGraphic from the Masters collection of the document. |
|
Deletes an object. |
|
Creates a shape whose path consists of an arc defined by the three points passed as parameters. |
|
Creates a shape whose path is defined by the supplied sequence of Bezier control points. |
|
Creates a new shape whose path consists of a circular arc defined by its center, radius, and start and end angles. |
|
Adds a line to the Shapes collection of a master. |
|
Creates a new shape whose path consists of a single NURBS (nonuniform rational B-spline) segment. |
|
Adds an oval (ellipse) to the Shapes collection of a master. |
|
Creates a shape whose path is a polyline along a given set of points. |
|
Creates a shape whose path consists of an elliptical arc defined by the two points and the flag passed in as arguments. |
|
Adds a rectangle to the Shapes collection of a page, master, or group. |
|
Creates a new shape whose path follows a given sequence of points. |
|
Creates one or more new Shape objects by dropping an object onto a receiving object such as a master, drawing page, shape, or group. |
|
Creates one or more new Shape objects in a master. It returns an array of the IDs of the Shape objects it produces. |
|
Creates one or more new Shape objects on a page, in a master, or in a group. It returns an array of the IDs of the Shape objects it produces. |
|
Exports an object from Microsoft Visio to a file format such as .bmp, .dib, .dwg, .dxf, .emf, .emz, .gif, .htm, .jpg, .png, .svg, .svgz, .tif, or .wmf. |
|
Exports the icon for a Master object to a named file or the Clipboard. |
|
Returns the formulas of many cells. |
|
Returns the formulas of many cells. |
|
Gets the results or formulas of many cells. |
|
Imports a file into the current document. |
|
Imports the icon for a Master object from a named file. |
|
Adds a linked or embedded object to a page, master, or group. |
|
Adds a new embedded object or ActiveX control to a page, master, or group. |
|
Lays out the shapes and/or reroutes the connectors for the page, master, group, or selection. |
|
Opens an existing master so that it can be edited. |
|
Opens a new drawing window that displays a master. |
|
Opens an icon window that shows a master's icon. |
|
Pastes the contents of the Clipboard into an object. |
|
Inserts the contents of the Clipboard, allowing you to control the format of the pasted information and (optionally) establish a link to the source file (for example, a Microsoft Word document). |
|
Pastes a shape to the specified location. |
|
Resizes the page, or the master's page, to fit tightly around the shapes or master that are on it. |
|
Sets the formulas of one or more cells. |
|
Sets the results or formulas of one or more cells. |
|
Returns the bounding rectangle of the virtual container that has all the shapes of the given master. |