共用方式為


ShowMediaControls Class

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

Inheritance Hierarchy

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

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

Syntax

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

Remarks

2.3.13 showMediaCtrls

Target namespace: https://schemas.microsoft.com/office/powerpoint/2007/7/12/main

A CT_ShowMediaControls element that specifies the visibility of media user interface controls during slide show. See section 2.2.4 for how this element integrates with ISO/IEC-29500:2008.

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

<xsd:element name="showMediaCtrls" type="CT_ShowMediaControls"/>

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

2.5.17 CT_ShowMediaControls

Target namespace: https://schemas.microsoft.com/office/powerpoint/2007/7/12/main

Referenced by: showMediaCtrls

A complex type that specifies the visibility of media user interface controls during slide show.

Attributes:

val : An xsd:boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies the visibility.

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

<xsd:complexType name="CT_ShowMediaControls">

<xsd:attribute name="val" type="xsd:boolean" use="required"/>

</xsd:complexType>

See section 5.1 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.

See Also

Reference

ShowMediaControls Members

DocumentFormat.OpenXml.Office2010.PowerPoint Namespace