ShapeStyle-Klasse
Defines the ShapeStyle Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is pic14:style.
Vererbungshierarchie
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)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(EffectReference))> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(FillReference))> _
<ChildElementInfoAttribute(GetType(FontReference))> _
<ChildElementInfoAttribute(GetType(LineReference))> _
Public Class ShapeStyle _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As ShapeStyle
[ChildElementInfoAttribute(typeof(EffectReference))]
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(FillReference))]
[ChildElementInfoAttribute(typeof(FontReference))]
[ChildElementInfoAttribute(typeof(LineReference))]
public class ShapeStyle : OpenXmlCompositeElement
Hinweise
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>
2.3.13 style
Target namespace: https://schemas.microsoft.com/office/2008/08/11/picture14
A CT_ShapeStyle ([ISO/IEC-29500-1] section A.4.1) element.
Extension attribute on type: [ISO/IEC-29500-1] §20.2.2.5 pic (Picture)
To maintain compatibility with ISO/IEC-29500 implementations, this attribute's namespace prefix MUST be specified in a Ignorable attribute (see [ISO/IEC-29500-3] §10.1.1 Ignorable Attribute)
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.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.
Siehe auch
Referenz
DocumentFormat.OpenXml.Office2010.Drawing.Pictures-Namespace