VariantValue class

Office 2013 and later

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

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

No code example is currently available or this language may not be supported.

[ISO/IEC 29500-1 1st Edition]

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: