MediaTrim class

Office 2013 and later

Defines the MediaTrim Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is p14:trim.

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2010.PowerPoint.MediaTrim

Namespace:  DocumentFormat.OpenXml.Office2010.PowerPoint
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class MediaTrim : OpenXmlLeafElement

2.5.10 CT_MediaTrim

Target namespace: http://schemas.microsoft.com/office/powerpoint/2010/main

Referenced by: CT_Media

A complex type that specifies the amount of time to be trimmed from the start and end of the media during playback.

Attributes:

st: An ST_UniversalTimeOffset attribute (section 2.6.1) that specifies a duration of time to be removed from the start of the media during playback. It MUST be less than the total length of the media minus the end.

end: An ST_UniversalTimeOffset attribute (section 2.6.1) that specifies a duration of time to be removed from the end of the media during playback. It MUST be less than the total length of the media minus the st.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_MediaTrim">

<xsd:attribute name="st" type="ST_UniversalTimeOffset" use="optional" default="0"/>

<xsd:attribute name="end" type="ST_UniversalTimeOffset" use="optional" default="0"/>

</xsd:complexType>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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: