Поделиться через


TriggerEventRecord Class

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

Inheritance Hierarchy

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

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

Syntax

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

Remarks

2.5.22 CT_TriggerEventRecord

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

Referenced by: CT_ShowEventRecordList

A complex type that specifies a triggered event that occurs during slide show.

Attributes:

type : A p:ST_TLTriggerEvent ([ISO/IEC-29500-4] section A.3) attribute that specifies the type of the triggered event.

time : An xsd:unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the time that the event occurs. The value is in milliseconds, relative to the beginning of the slide timeline, which does not include slide transition time.

objId : An a:ST_DrawingElementId ([ISO/IEC-29500-4] section A.4.1) attribute that specifies the identifier of the shape object on the slide that is the target of this event.

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

<xsd:complexType name="CT_TriggerEventRecord">

<xsd:attribute name="type" type="p:ST_TLTriggerEvent" use="required"/>

<xsd:attribute name="time" type="xsd:unsignedInt" use="required"/>

<xsd:attribute name="objId" type="a:ST_DrawingElementId" 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

TriggerEventRecord Members

DocumentFormat.OpenXml.Office2010.PowerPoint Namespace