MediaFade Class
Defines the MediaFade Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is p14:fade.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Office2010.PowerPoint.MediaFade
Namespace: DocumentFormat.OpenXml.Office2010.PowerPoint
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class MediaFade _
Inherits OpenXmlLeafElement
'Usage
Dim instance As MediaFade
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class MediaFade : OpenXmlLeafElement
Remarks
2.5.7 CT_MediaFade
Target namespace: https://schemas.microsoft.com/office/2007/6/19/audiovideo
Referenced by: CT_SourceMedia
A complex type that specifies the time duration for the starting and ending fades.
Attributes:
inDur : An ST_MediaTime attribute that specifies the duration of the starting fade. It MUST be less than or equal to the total length of the media minus the outDur.
outDur : An optional ST_MediaTime attribute that specifies the duration of the ending fade. It MUST be less than or equal to the total length of the media minus the inDur.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_MediaFade">
<xsd:attribute name="inDur" type="ST_MediaTime" use="optional" default="0"/>
<xsd:attribute name="outDur" type="ST_MediaTime" use="optional" default="0"/>
</xsd:complexType>
See section 5.2 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
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.