次の方法で共有


ShapeProperties Class

Visual Properties.When the object is serialized out as xml, its qualified name is a:spPr.

Inheritance Hierarchy

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

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

Syntax

'宣言
<ChildElementInfoAttribute(GetType(GroupFill))> _
<ChildElementInfoAttribute(GetType(GradientFill))> _
<ChildElementInfoAttribute(GetType(BlipFill))> _
<ChildElementInfoAttribute(GetType(ShapePropertiesExtensionList))> _
<ChildElementInfoAttribute(GetType(CustomGeometry))> _
<ChildElementInfoAttribute(GetType(PresetGeometry))> _
<ChildElementInfoAttribute(GetType(NoFill))> _
<ChildElementInfoAttribute(GetType(SolidFill))> _
<ChildElementInfoAttribute(GetType(Transform2D))> _
<ChildElementInfoAttribute(GetType(PatternFill))> _
<ChildElementInfoAttribute(GetType(Outline))> _
<ChildElementInfoAttribute(GetType(EffectList))> _
<ChildElementInfoAttribute(GetType(EffectDag))> _
<ChildElementInfoAttribute(GetType(Scene3DType))> _
<ChildElementInfoAttribute(GetType(Shape3DType))> _
Public Class ShapeProperties _
    Inherits OpenXmlCompositeElement
'使用
Dim instance As ShapeProperties
[ChildElementInfoAttribute(typeof(GroupFill))]
[ChildElementInfoAttribute(typeof(GradientFill))]
[ChildElementInfoAttribute(typeof(BlipFill))]
[ChildElementInfoAttribute(typeof(ShapePropertiesExtensionList))]
[ChildElementInfoAttribute(typeof(CustomGeometry))]
[ChildElementInfoAttribute(typeof(PresetGeometry))]
[ChildElementInfoAttribute(typeof(NoFill))]
[ChildElementInfoAttribute(typeof(SolidFill))]
[ChildElementInfoAttribute(typeof(Transform2D))]
[ChildElementInfoAttribute(typeof(PatternFill))]
[ChildElementInfoAttribute(typeof(Outline))]
[ChildElementInfoAttribute(typeof(EffectList))]
[ChildElementInfoAttribute(typeof(EffectDag))]
[ChildElementInfoAttribute(typeof(Scene3DType))]
[ChildElementInfoAttribute(typeof(Shape3DType))]
public class ShapeProperties : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Transform2D <a:xfrm>

  • CustomGeometry <a:custGeom>

  • PresetGeometry <a:prstGeom>

  • NoFill <a:noFill>

  • SolidFill <a:solidFill>

  • GradientFill <a:gradFill>

  • BlipFill <a:blipFill>

  • PatternFill <a:pattFill>

  • GroupFill <a:grpFill>

  • Outline <a:ln>

  • EffectList <a:effectLst>

  • EffectDag <a:effectDag>

  • Scene3DType <a:scene3d>

  • Shape3DType <a:sp3d>

  • ShapePropertiesExtensionList <a:extLst>

[ISO/IEC 29500-1 初版]

20.1.2.2.35 spPr (Shape Properties)

This element specifies the visual shape properties that can be applied to a shape.

Parent Elements

cxnSp (§20.1.2.2.10); lnDef (§20.1.4.1.20); pic (§20.1.2.2.30); sp (§20.1.2.2.33); spDef (§20.1.4.1.27); txDef (§20.1.4.1.28)

Child Elements

Subclause

blipFill (Picture Fill)

§20.1.8.14

custGeom (Custom Geometry)

§20.1.9.8

effectDag (Effect Container)

§20.1.8.25

effectLst (Effect Container)

§20.1.8.26

extLst (Extension List)

§20.1.2.2.15

gradFill (Gradient Fill)

§20.1.8.33

grpFill (Group Fill)

§20.1.8.35

ln (Outline)

§20.1.2.2.24

noFill (No Fill)

§20.1.8.44

pattFill (Pattern Fill)

§20.1.8.47

prstGeom (Preset geometry)

§20.1.9.18

scene3d (3D Scene Properties)

§20.1.4.1.26

solidFill (Solid Fill)

§20.1.8.54

sp3d (Apply 3D shape properties)

§20.1.5.12

xfrm (2D Transform for Individual Objects)

§20.1.7.6

Attributes

Description

bwMode (Black and White Mode)

Specifies that the picture should be rendered using only black and white coloring. That is the coloring information for the picture should be converted to either black or white when rendering the picture.

No gray is to be used in rendering this image, only stark black and stark white.

[Note: This does not mean that the picture itself that is stored within the file is necessarily a black and white picture. This attribute instead sets the rendering mode that the picture has applied to when rendering. end note]

The possible values for this attribute are defined by the ST_BlackWhiteMode simple type (§20.1.10.10).

[Note: The W3C XML Schema definition of this element's content model (CT_ShapeProperties) is located in §A.4.1. end note]

© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

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.Drawing Namespace