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 c14:spPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.Drawing.Charts.ShapeProperties

Namespace:  DocumentFormat.OpenXml.Office2010.Drawing.Charts
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

声明
<ChildElementInfoAttribute(GetType(GradientFill))> _
<ChildElementInfoAttribute(GetType(Transform2D))> _
<ChildElementInfoAttribute(GetType(BlipFill))> _
<ChildElementInfoAttribute(GetType(PatternFill))> _
<ChildElementInfoAttribute(GetType(GroupFill))> _
<ChildElementInfoAttribute(GetType(Outline))> _
<ChildElementInfoAttribute(GetType(EffectList))> _
<ChildElementInfoAttribute(GetType(SolidFill))> _
<ChildElementInfoAttribute(GetType(Scene3DType))> _
<ChildElementInfoAttribute(GetType(Shape3DType))> _
<ChildElementInfoAttribute(GetType(ShapePropertiesExtensionList))> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(EffectDag))> _
<ChildElementInfoAttribute(GetType(CustomGeometry))> _
<ChildElementInfoAttribute(GetType(PresetGeometry))> _
<ChildElementInfoAttribute(GetType(NoFill))> _
Public Class ShapeProperties _
    Inherits OpenXmlCompositeElement
用法
Dim instance As ShapeProperties
[ChildElementInfoAttribute(typeof(GradientFill))]
[ChildElementInfoAttribute(typeof(Transform2D))]
[ChildElementInfoAttribute(typeof(BlipFill))]
[ChildElementInfoAttribute(typeof(PatternFill))]
[ChildElementInfoAttribute(typeof(GroupFill))]
[ChildElementInfoAttribute(typeof(Outline))]
[ChildElementInfoAttribute(typeof(EffectList))]
[ChildElementInfoAttribute(typeof(SolidFill))]
[ChildElementInfoAttribute(typeof(Scene3DType))]
[ChildElementInfoAttribute(typeof(Shape3DType))]
[ChildElementInfoAttribute(typeof(ShapePropertiesExtensionList))]
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(EffectDag))]
[ChildElementInfoAttribute(typeof(CustomGeometry))]
[ChildElementInfoAttribute(typeof(PresetGeometry))]
[ChildElementInfoAttribute(typeof(NoFill))]
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

ShapeProperties Members

DocumentFormat.OpenXml.Office2010.Drawing.Charts Namespace