Partager via


EndTime Class

Audio End Time.When the object is serialized out as xml, its qualified name is a:end.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.AudioCDTimeType
        DocumentFormat.OpenXml.Drawing.EndTime

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

Syntax

'Declaration
Public Class EndTime _
    Inherits AudioCDTimeType
'Usage
Dim instance As EndTime
public class EndTime : AudioCDTimeType

Remarks

[ISO/IEC 29500-1 1st Edition]

20.1.3.3 end (Audio End Time)

This element specifies the end point for a CD Audio sound element. Encompassed within this element are the time and track at which the sound should halt its playback. This element is used in conjunction with an Audio Start Time element to specify the time span for an entire audioCD sound element.

[Example: Consider the following DrawingML.

<a:audioCd>
<a:st track="1" time="2"/>
<a:end track="3" time="65"/>
</a:audioCd>

In the above example, the audioCD sound element shown specifies for a portion of audio spanning from 2 seconds into the first track to 1 minute, 5 seconds into the third track. end example]

Parent Elements

audioCd (§20.1.3.1)

Attributes

Description

time (Time)

Specifies the time in seconds that the CD Audio should be started at. If this attribute is omitted, then a value of 0 is assumed.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

track (Track)

Specifies which track of the CD this Audio begins playing on. This attribute is required and cannot be omitted.

The possible values for this attribute are defined by the W3C XML Schema unsignedByte datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_AudioCDTime) is located in §A.4.1. 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

EndTime Members

DocumentFormat.OpenXml.Drawing Namespace