Freigeben über


VariantValue-Klasse

Value.When the object is serialized out as xml, its qualified name is p:val.

Vererbungshierarchie

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

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

Syntax

'Declaration
Public Class VariantValue _
    Inherits TimeListAnimationVariantType
'Usage
Dim instance As VariantValue
public class VariantValue : TimeListAnimationVariantType

Hinweise

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. Ausgabe]

19.5.92 val (Value)

The element specifies a value for a time animate.

[Example: Consider a shape with a fade in animation effect. The <val> element should be used as follows:

  <p:anim calcmode="lin" valueType="num">
    <p:cBhvr additive="base"> … </p:cBhvr>
    <p:tavLst>
      <p:tav tm="0">
        <p:val>
          <p:strVal val="0-#ppt_w/2"/>
        </p:val>
      </p:tav>
      <p:tav tm="100000">
        <p:val>
          <p:strVal val="#ppt_x"/>
        </p:val>
      </p:tav>
    </p:tavLst>
  </p:anim>

end example]

Parent Elements

tav (§19.5.79)

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. 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

VariantValue-Member

DocumentFormat.OpenXml.Presentation-Namespace