FillReference Class
Fill Reference.When the object is serialized out as xml, its qualified name is a:fillRef.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.StyleMatrixReferenceType
DocumentFormat.OpenXml.Drawing.FillReference
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaración
Public Class FillReference _
Inherits StyleMatrixReferenceType
'Uso
Dim instance As FillReference
public class FillReference : StyleMatrixReferenceType
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 1ª edición]
20.1.4.2.10 fillRef (Fill Reference)
This element defines a reference to a fill style within the style matrix. The idx attribute refers to the index of a fill style or background fill style within the presentation's style matrix, defined by the fmtScheme element. A value of 0 or 1000 indicates no background, values 1-999 refer to the index of a fill style within the fillStyleLst element, and values 1001 and above refer to the index of a background fill style within the bgFillStyleLst element. The value 1001 corresponds to the first background fill style, 1002 to the second background fill style, and so on.
[Example:
<a:fillRef idx="2">
<a:schemeClr val="accent2"/>
</a:fillRef>
The above code indicates the object is to have the style's second fill style using the accent2 color of the color scheme.
end example]
[Example:
<a:fillRef idx="1001">
<a:schemeClr val="accent2"/>
</a:fillRef>
The above code indicates the object is to have the style's first background fill style using the accent2 color of the color scheme.
end example]
Parent Elements |
---|
style (§21.3.2.24); style (§21.4.2.28); style (§20.1.2.2.37); style (§20.5.2.31); style (§19.3.1.46); tblBg (§20.1.4.2.25); tcStyle (§20.1.4.2.29) |
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 |
Attributes |
Description |
---|---|
idx (Style Matrix Index) |
Specifies the style matrix index of the style referred to. The possible values for this attribute are defined by the ST_StyleMatrixColumnIndex simple type (§20.1.10.57). |
[Note: The W3C XML Schema definition of this element's content model (CT_StyleMatrixReference) is located in §A.4.1. end note]
© ISO/IEC29500: 2008. Los extractos anteriores han sido traducidos del inglés al español por Microsoft (o algunos de sus agentes) e ISO no asume ningún tipo de responsabilidad por dichas traducciones.
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.