ShapeStyle Class
Defines the ShapeStyle Class.When the object is serialized out as xml, its qualified name is dsp:style.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office.Drawing.ShapeStyle
Namespace: DocumentFormat.OpenXml.Office.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
<ChildElementInfoAttribute(GetType(FillReference))> _
<ChildElementInfoAttribute(GetType(EffectReference))> _
<ChildElementInfoAttribute(GetType(FontReference))> _
<ChildElementInfoAttribute(GetType(LineReference))> _
Public Class ShapeStyle _
Inherits OpenXmlCompositeElement
用法
Dim instance As ShapeStyle
[ChildElementInfoAttribute(typeof(FillReference))]
[ChildElementInfoAttribute(typeof(EffectReference))]
[ChildElementInfoAttribute(typeof(FontReference))]
[ChildElementInfoAttribute(typeof(LineReference))]
public class ShapeStyle : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
DocumentFormat.OpenXml.Drawing.LineReference <a:lnRef>
DocumentFormat.OpenXml.Drawing.FillReference <a:fillRef>
DocumentFormat.OpenXml.Drawing.EffectReference <a:effectRef>
DocumentFormat.OpenXml.Drawing.FontReference <a:fontRef>
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.