Compartir a través de


BookmarkTarget Class

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

Inheritance Hierarchy

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

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

Syntax

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

Remarks

2.3.7 bmkTgt

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

A CT_MediaBookmarkTarget element that specifies a media bookmark that triggers an animation. See section 2.2.2 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="bmkTgt" type="CT_MediaBookmarkTarget"/>

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

2.5.4 CT_MediaBookmarkTarget

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

Referenced by: bmkTgt

A complex type that specifies a media bookmark that triggers an animation.

Attributes:

spid : An a:ST_DrawingElementId ([ISO/IEC-29500-4] section A.4.1) attribute that specifies the shape identifier of the shape that contains video or audio data.

bmkName : An xsd:string ([XMLSCHEMA2] section 3.2.1) attribute that specifies the name of the bookmark for the media that is contained in the shape specified by spid. The name MUST exist in the CT_MediaBookmarkList contained by the media.

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

<xsd:complexType name="CT_MediaBookmarkTarget">

<xsd:attribute name="spid" type="a:ST_DrawingElementId" use="required"/>

<xsd:attribute name="bmkName" type="xsd:string" 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

BookmarkTarget Members

DocumentFormat.OpenXml.Office2010.PowerPoint Namespace