ByColor Class
By.When the object is serialized out as xml, its qualified name is p:by.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Presentation.ByColor
Namespace: DocumentFormat.OpenXml.Presentation
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaración
<ChildElementInfoAttribute(GetType(HslColor))> _
<ChildElementInfoAttribute(GetType(RgbColor))> _
Public Class ByColor _
Inherits OpenXmlCompositeElement
'Uso
Dim instance As ByColor
[ChildElementInfoAttribute(typeof(HslColor))]
[ChildElementInfoAttribute(typeof(RgbColor))]
public class ByColor : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
RgbColor <p:rgb>
HslColor <p:hsl>
[ISO/IEC 29500-1 1ª edición]
19.5.20 by (By)
This element describes the relative offset value for the color animation.
[Example: Consider a shape with a lightening emphasis animation applied to it. The <by> element should be used as follows:
<p:animClr clrSpc="hsl">
<p:cBhvr>
<p:cTn id="8" dur="500" fill="hold"/>
<p:tgtEl>
<p:spTgt spid="4"/>
</p:tgtEl>
<p:attrNameLst>
<p:attrName>stroke.color</p:attrName>
</p:attrNameLst>
</p:cBhvr>
<p:by>
<p:hsl h="0" s="0" l="0"/>
</p:by>
</p:animClr>
end example]
Parent Elements |
---|
animClr (§19.5.2) |
Child Elements |
Subclause |
---|---|
hsl (HSL) |
§19.5.46 |
rgb (RGB) |
§19.5.63 |
[Note: The W3C XML Schema definition of this element's content model (CT_TLByAnimateColorTransform) is located in §A.3. 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.