FromColor class
From. When the object is serialized out as xml, its qualified name is p:from.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Presentation.Color3Type
DocumentFormat.OpenXml.Presentation.FromColor
Namespace: DocumentFormat.OpenXml.Presentation
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
from (From)
This element is used to specify the starting color of the target element.
[Example: Consider a shape with an animation fill change from one accent color to another. The <from> element should be used as follows:
<p:animClr clrSpc="rgb" dir="cw">
<p:cBhvr>
<p:cTn id="6" dur="2000" fill="hold"/>
<p:tgtEl>
… </p:tgtEl>
<p:attrNameLst>
<p:attrName>fillcolor</p:attrName>
</p:attrNameLst>
</p:cBhvr>
<p:from>
<a:schemeClr val="accent3"/>
</p:from>
<p:to>
<a:schemeClr val="accent2"/>
</p:to>
</p:animClr>end example]
Parent Elements |
|---|
animClr (§19.5.2) |
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_Color) is located in §A.4.1. end note]
© ISO/IEC29500: 2008.