Freigeben über


MediaTrim-Klasse

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

Vererbungshierarchie

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)

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class MediaTrim _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As MediaTrim
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class MediaTrim : OpenXmlLeafElement

Hinweise

2.5.6 CT_MediaTrim

Target namespace: https://schemas.microsoft.com/office/2007/6/19/audiovideo

Referenced by: CT_SourceMedia

A complex type that specifies the start and end times for a media.

Attributes:

st : An ST_MediaTime attribute that specifies the start time of the media relative to the beginning of the media. The start time MUST be less than the end time for the media.

end : An ST_MediaTime attribute that specifies the end time of the media relative to the beginning of the media. The end time MUST be greater than the start time for the media and MUST be less than or equal to the length of the media.

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_MediaTime" use="optional" default="0"/>

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

</xsd:complexType>

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

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

MediaTrim-Member

DocumentFormat.OpenXml.Office2010.PowerPoint-Namespace