UserShapes Class
User Shapes. It is the root element of ChartDrawingPart.When the object is serialized out as xml, its qualified name is c:userShapes.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.OpenXmlPartRootElement
DocumentFormat.OpenXml.Drawing.Charts.UserShapes
Namespace: DocumentFormat.OpenXml.Drawing.Charts
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(AbsoluteAnchorSize))> _
<ChildElementInfoAttribute(GetType(RelativeAnchorSize))> _
Public Class UserShapes _
Inherits OpenXmlPartRootElement
'Usage
Dim instance As UserShapes
[ChildElementInfoAttribute(typeof(AbsoluteAnchorSize))]
[ChildElementInfoAttribute(typeof(RelativeAnchorSize))]
public class UserShapes : OpenXmlPartRootElement
Remarks
The following table lists the possible child types:
DocumentFormat.OpenXml.Drawing.ChartDrawing.RelativeAnchorSize <cdr:relSizeAnchor>
DocumentFormat.OpenXml.Drawing.ChartDrawing.AbsoluteAnchorSize <cdr:absSizeAnchor>
[ISO/IEC 29500-1 1st Edition]
21.2.2.220 userShapes (User Shapes)
This element shall specify the shapes drawn on top of the chart.
Child Elements |
Subclause |
---|---|
absSizeAnchor (Absolute Anchor Shape Size) |
§21.3.2.1 |
relSizeAnchor (Relative Anchor Shape Size) |
§21.3.2.21 |
[Note: The W3C XML Schema definition of this element’s content model (CT_Drawing) is located in §A.5.2. end note]
© ISO/IEC29500: 2008.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.