Shape element (Shapes_Type complexType) (Visio XML)
- Article
-
-
Contains elements that define a shape in a Master, Page, or group shape element.
|
Value |
Element type
|
ShapeSheet_Type
|
Namespace
|
http://schemas.microsoft.com/office/visio/2012/main
|
Schema file
|
VisioSchema15.xsd
|
Document parts
|
page#.xml, master#.xml
|
Definition
< xs:element name="Shape" type="ShapeSheet_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
Child elements
Element |
Type |
Description |
Cell
|
Cell_Type
|
Specifies a single property. |
Data1
|
Data_Type
|
Contains an arbitrary string value that is used to supply additional information about a shape. |
Data2
|
Data_Type
|
Contains an arbitrary string value that is used to supply additional information about a shape. |
Data3
|
Data_Type
|
Contains an arbitrary string value that is used to supply additional information about a shape. |
ForeignData
|
ForeignData_Type
|
Contains a MIME (Multipurpose Internet Mail Extensions) encoded BLOB of picture data, such as Windows metafile, bitmap, or OLE data. |
Section
|
Section_Type
|
Specifies a collection of related properties. |
Shapes
|
Shapes_Type
|
Specifies a collection of shapes. |
Text
|
Text_Type
|
Contains the text of a shape. |
Attributes
Attribute |
Type |
Required |
Description |
Possible values |
Del
|
xsd:boolean
|
optional
|
A flag indicating whether the element is deleted locally. |
Values of the xsd:boolean type. |
FillStyle
|
xsd:unsignedInt
|
|
The ID of the StyleSheet from which this shape inherits fill formatting. |
Values of the xsd:unsignedInt type. |
ID
|
xsd:unsignedInt
|
required
|
The unique ID of the element within its parent element. |
Values of the xsd:unsignedInt type. |
IsCustomName
|
xsd:boolean
|
optional
|
Indicates whether the name has been customized by the user. |
Values of the xsd:boolean type. |
IsCustomNameU
|
xsd:boolean
|
optional
|
Indicates whether the universal name has been customized by the user.. |
Values of the xsd:boolean type. |
LineStyle
|
xsd:unsignedInt
|
|
The ID of the StyleSheet from which this shape inherits line formatting. |
Values of the xsd:unsignedInt type. |
Master
|
xsd:unsignedInt
|
optional
|
The ID of the Master element from which the shape inherits its data. |
Values of the xsd:unsignedInt type. |
MasterShape
|
xsd:unsignedInt
|
optional
|
The ID of the Master element from which the shape inherits its data. |
Values of the xsd:unsignedInt 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. |
TextStyle
|
xsd:unsignedInt
|
|
The ID of the StyleSheet from which this shape inherits text formatting. |
Values of the xsd:unsignedInt type. |
Type
|
xsd:token
|
optional
|
The type of a shape. It may be one of the following values: Group, Shape, Guide, or Foreign. |
Values of the xsd:token type. |
UniqueID
|
xsd:string
|
optional
|
A GUID (globally unique identifier) assigned to the shape. |
Values of the xsd:string type. |