Поделиться через


ToVariantValue Class

To.When the object is serialized out as xml, its qualified name is p:to.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Presentation.TimeListAnimationVariantType
        DocumentFormat.OpenXml.Presentation.ToVariantValue

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

Syntax

'Декларация
Public Class ToVariantValue _
    Inherits TimeListAnimationVariantType
'Применение
Dim instance As ToVariantValue
public class ToVariantValue : TimeListAnimationVariantType

Remarks

The following table lists the possible child types:

  • BooleanVariantValue <p:boolVal>

  • IntegerVariantValue <p:intVal>

  • FloatVariantValue <p:fltVal>

  • StringVariantValue <p:strVal>

  • ColorValue <p:clrVal>

[ISO/IEC 29500-1 редакция 1]

19.5.89 to (To)

The element specifies the certain attribute of a time node after an animation effect.

[Example: Consider an animation effect that leaves a string value visible afterwards. The <to> element should be used as follows:

<p:childTnLst>
  <p:set>
    <p:cBhvr> … </p:cBhvr>
    <p:to>
      <p:strVal val="visible"/>
    </p:to>
  </p:set>
  <p:anim calcmode="lin" valueType="num"> … </p:anim>
…</p:childTnLst>

end example]

Parent Elements

set (§19.5.66)

Child Elements

Subclause

boolVal (Boolean Variant)

§19.5.19

clrVal (Color Value)

§19.5.27

fltVal (Float Value)

§19.5.42

intVal (Integer)

§19.5.48

strVal (String Value)

§19.5.75

[Note: The W3C XML Schema definition of this element's content model (CT_TLAnimVariant) is located in §A.3. end note]

© ISO/IEC29500: 2008. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и ISO не несет ответственности за эти переводы.

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.

See Also

Reference

ToVariantValue Members

DocumentFormat.OpenXml.Presentation Namespace