Master element (Masters_Type complexType) (Visio XML)

Contains elements that define a master for the document.

Element information

Value
Element type
Master_Type
Namespace
http://schemas.microsoft.com/office/visio/2012/main
Schema file
VisioSchema15.xsd
Document parts
masters.xml

Definition

< xs:element name="Master" type="Master_Type" minOccurs="0" maxOccurs="unbounded" >
</xs:element >

Elements and attributes

If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.

Parent elements

Element Type Description
Masters
Masters_Type
Contains the Master elements for the document.

Child elements

Element Type Description
Connects
Connects_Type
Contains a Connect element for each connection between two shapes in a drawing.
Icon
Icon_Type
Specifies a MIME (Multipurpose Internet Mail Extensions) encoded binary icon (in .ico format) for a Master or MasterShortcut element in a document.
PageSheet
PageSheet_Type
Contains elements that define the page sheet for a Page or Master element.
Shapes
Shapes_Type
Contains a collection of Shape elements.

Attributes

Attribute Type Required Description Possible values
AlignName
xsd:unsignedShort
optional
Specifies whether the master's text in the stencil window is aligned left, right, or center. Values of the xsd:unsignedShort type.
BaseID
xsd:string
optional
A GUID (globally unique identifier) that identifies the master across documents. Values of the xsd:string type.
Hidden
xsd:boolean
optional
Specifies whether the master is hidden in the user interface. Values of the xsd:boolean type.
IconSize
xsd:unsignedShort
optional
The size of the element's icon. Values of the xsd:unsignedShort type.
IconUpdate
xsd:boolean
optional
Specifies whether the icon is automatically generated from the master itself. Values of the xsd:boolean type.
ID
xsd:unsignedInt
required
The unique ID of the element within its parent element. Values of the xsd:unsignedInt type.
MatchByName
xsd:boolean
optional
Determines how Microsoft Visio decides if a document master is already present when an instance of a master is dropped on the drawing page. Values of the xsd:boolean type.
Name
xsd:string
optional
The name of the element. Values of the xsd:string type.
NameU
xsd:string
optional
The universal name of the element. Values of the xsd:string type.
PatternFlags
xsd:unsignedShort
optional
Determines whether a master behaves as a custom pattern. Values of the xsd:unsignedShort type.
Prompt
xsd:string
optional
The status bar and tool tip prompt for the element. Values of the xsd:string type.
UniqueID
xsd:string
optional
A GUID that identifies the master within the document. Values of the xsd:string type.