SolidFill Class
Defines the SolidFill Class.When the object is serialized out as xml, its qualified name is a:solidFill.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.SolidFill
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(PresetColor))> _
<ChildElementInfoAttribute(GetType(RgbColorModelPercentage))> _
<ChildElementInfoAttribute(GetType(RgbColorModelHex))> _
<ChildElementInfoAttribute(GetType(HslColor))> _
<ChildElementInfoAttribute(GetType(SystemColor))> _
<ChildElementInfoAttribute(GetType(SchemeColor))> _
Public Class SolidFill _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As SolidFill
[ChildElementInfoAttribute(typeof(PresetColor))]
[ChildElementInfoAttribute(typeof(RgbColorModelPercentage))]
[ChildElementInfoAttribute(typeof(RgbColorModelHex))]
[ChildElementInfoAttribute(typeof(HslColor))]
[ChildElementInfoAttribute(typeof(SystemColor))]
[ChildElementInfoAttribute(typeof(SchemeColor))]
public class SolidFill : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
RgbColorModelPercentage <a:scrgbClr>
RgbColorModelHex <a:srgbClr>
HslColor <a:hslClr>
SystemColor <a:sysClr>
SchemeColor <a:schemeClr>
PresetColor <a:prstClr>
[ISO/IEC 29500-1 1st Edition]
20.1.8.54 solidFill (Solid Fill)
This element specifies a solid color fill. The shape is filled entirely with the specified color.
Parent Elements |
---|
bg (§21.4.3.1); bgFillStyleLst (§20.1.4.1.7); bgPr (§19.3.1.2); defRPr (§21.1.2.3.2); endParaRPr (§21.1.2.2.3); fill (§20.1.8.28); fill (§20.1.4.2.9); fillOverlay (§20.1.8.29); fillStyleLst (§20.1.4.1.13); grpSpPr (§21.3.2.14); grpSpPr (§20.1.2.2.22); grpSpPr (§20.5.2.18); grpSpPr (§19.3.1.23); ln (§20.1.2.2.24); lnB (§21.1.3.5); lnBlToTr (§21.1.3.6); lnL (§21.1.3.7); lnR (§21.1.3.8); lnT (§21.1.3.9); lnTlToBr (§21.1.3.10); rPr (§21.1.2.3.9); spPr (§21.2.2.197); spPr (§21.3.2.23); spPr (§21.4.3.7); spPr (§20.1.2.2.35); spPr (§20.2.2.6); spPr (§20.5.2.30); spPr (§19.3.1.44); tblPr (§21.1.3.15); tcPr (§21.1.3.17); uFill (§21.1.2.3.12); uLn (§21.1.2.3.14) |
Child Elements |
Subclause |
---|---|
hslClr (Hue, Saturation, Luminance Color Model) |
§20.1.2.3.13 |
prstClr (Preset Color) |
§20.1.2.3.22 |
schemeClr (Scheme Color) |
§20.1.2.3.29 |
scrgbClr (RGB Color Model - Percentage Variant) |
§20.1.2.3.30 |
srgbClr (RGB Color Model - Hex Variant) |
§20.1.2.3.32 |
sysClr (System Color) |
§20.1.2.3.33 |
[Note: The W3C XML Schema definition of this element’s content model (CT_SolidColorFillProperties) is located in §A.4.1. end note]
© ISO/IEC29500: 2008.
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.