Share via


TimePercentage Class

Time Percentage.When the object is serialized out as xml, its qualified name is p:tmPct.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Presentation.TimePercentage

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

Syntax

'Declaration
Public Class TimePercentage _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As TimePercentage
public class TimePercentage : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

19.5.83 tmPct (Time Percentage)

This element describes the duration of the iteration interval in a percentage of time.

[Example: Consider a text animation where the words appear letter by letter every 10th of the animation duration. The <tmPct> element should be used as follows:

<p:par>
  <p:cTn id="5" >
    <p:stCondLst> … </p:stCondLst>
    <p:iterate type="lt">
      <p:tmPct val="10000"/>
    </p:iterate>
    <p:childTnLst> … </p:childTnLst>
  </p:cTn>
</p:par>

end example]

Parent Elements

iterate (§19.5.49)

Attributes

Description

val (Value)

This attribute specifies the time expressed as a percentage.

The possible values for this attribute are defined by the ST_PositivePercentage simple type (§20.1.10.46).

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

© ISO/IEC29500: 2008.

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

TimePercentage Members

DocumentFormat.OpenXml.Presentation Namespace