Freigeben über


ByColor-Klasse

By.When the object is serialized out as xml, its qualified name is p:by.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Presentation.ByColor

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(HslColor))> _
<ChildElementInfoAttribute(GetType(RgbColor))> _
Public Class ByColor _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As ByColor
[ChildElementInfoAttribute(typeof(HslColor))]
[ChildElementInfoAttribute(typeof(RgbColor))]
public class ByColor : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • RgbColor <p:rgb>

  • HslColor <p:hsl>

[ISO/IEC 29500-1 1. Ausgabe]

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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

ByColor-Member

DocumentFormat.OpenXml.Presentation-Namespace