ShapeProperties Class
Defines the ShapeProperties Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is wps:spPr.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office2010.Word.DrawingShape.ShapeProperties
Namespace: DocumentFormat.OpenXml.Office2010.Word.DrawingShape
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(GradientFill))> _
<ChildElementInfoAttribute(GetType(CustomGeometry))> _
<ChildElementInfoAttribute(GetType(PresetGeometry))> _
<ChildElementInfoAttribute(GetType(NoFill))> _
<ChildElementInfoAttribute(GetType(SolidFill))> _
<ChildElementInfoAttribute(GetType(Transform2D))> _
<ChildElementInfoAttribute(GetType(BlipFill))> _
<ChildElementInfoAttribute(GetType(PatternFill))> _
<ChildElementInfoAttribute(GetType(GroupFill))> _
<ChildElementInfoAttribute(GetType(Outline))> _
<ChildElementInfoAttribute(GetType(EffectList))> _
<ChildElementInfoAttribute(GetType(EffectDag))> _
<ChildElementInfoAttribute(GetType(Scene3DType))> _
<ChildElementInfoAttribute(GetType(Shape3DType))> _
<ChildElementInfoAttribute(GetType(ShapePropertiesExtensionList))> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class ShapeProperties _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As ShapeProperties
[ChildElementInfoAttribute(typeof(GradientFill))]
[ChildElementInfoAttribute(typeof(CustomGeometry))]
[ChildElementInfoAttribute(typeof(PresetGeometry))]
[ChildElementInfoAttribute(typeof(NoFill))]
[ChildElementInfoAttribute(typeof(SolidFill))]
[ChildElementInfoAttribute(typeof(Transform2D))]
[ChildElementInfoAttribute(typeof(BlipFill))]
[ChildElementInfoAttribute(typeof(PatternFill))]
[ChildElementInfoAttribute(typeof(GroupFill))]
[ChildElementInfoAttribute(typeof(Outline))]
[ChildElementInfoAttribute(typeof(EffectList))]
[ChildElementInfoAttribute(typeof(EffectDag))]
[ChildElementInfoAttribute(typeof(Scene3DType))]
[ChildElementInfoAttribute(typeof(Shape3DType))]
[ChildElementInfoAttribute(typeof(ShapePropertiesExtensionList))]
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class ShapeProperties : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
DocumentFormat.OpenXml.Drawing.Transform2D <a:xfrm>
DocumentFormat.OpenXml.Drawing.CustomGeometry <a:custGeom>
DocumentFormat.OpenXml.Drawing.PresetGeometry <a:prstGeom>
DocumentFormat.OpenXml.Drawing.NoFill <a:noFill>
DocumentFormat.OpenXml.Drawing.SolidFill <a:solidFill>
DocumentFormat.OpenXml.Drawing.GradientFill <a:gradFill>
DocumentFormat.OpenXml.Drawing.BlipFill <a:blipFill>
DocumentFormat.OpenXml.Drawing.PatternFill <a:pattFill>
DocumentFormat.OpenXml.Drawing.GroupFill <a:grpFill>
DocumentFormat.OpenXml.Drawing.Outline <a:ln>
DocumentFormat.OpenXml.Drawing.EffectList <a:effectLst>
DocumentFormat.OpenXml.Drawing.EffectDag <a:effectDag>
DocumentFormat.OpenXml.Drawing.Scene3DType <a:scene3d>
DocumentFormat.OpenXml.Drawing.Shape3DType <a:sp3d>
DocumentFormat.OpenXml.Drawing.ShapePropertiesExtensionList <a:extLst>
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.
See Also
Reference
DocumentFormat.OpenXml.Office2010.Word.DrawingShape Namespace