ShapeStyle class

Office 2013 and later

Defines the ShapeStyle Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is pic14:style.

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.Drawing.Pictures.ShapeStyle

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

No code example is currently available or this language may not be supported.

2.3.28 style

Target namespace: http://schemas.microsoft.com/office/drawing/2010/picture

A CT_ShapeStyle element ([ISO/IEC-29500-1] section A.4.1).

Extension attribute on type: [ISO/IEC-29500-1] section 20.2.2.5

To maintain compatibility with Office Open XML file formats as specified in [ISO/IEC-29500:2008], the namespace of this attribute prefix MUST be specified in an Ignorable attribute ( [ISO/IEC-29500-3] section 10.1.1).

This element specifies the style information for a picture.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

<xsd:element name="style" type="a:CT_ShapeStyle"/>

See section 5.12 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: