Control Class

Embedded Control.When the object is serialized out as xml, its qualified name is p:control.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Presentation.Control

Namespace:  DocumentFormat.OpenXml.Presentation
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<ChildElementInfoAttribute(GetType(Picture))> _
Public Class Control _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Control
[ChildElementInfoAttribute(typeof(ExtensionList))]
[ChildElementInfoAttribute(typeof(Picture))]
public class Control : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • ExtensionList <p:extLst>

  • Picture <p:pic>

[ISO/IEC 29500-1 1st Edition]

19.3.2.1 control (Embedded Control)

This element specifies the existence of an embedded control in the slide.

Parent Elements

controls (§19.3.1.15)

Child Elements

Subclause

extLst (Extension List)

§19.2.1.12

pic (Picture)

§19.3.1.37

Attributes

Description

id (Relationship ID)

Namespace: .../officeDocument/2006/relationships

Specifies the relationship id that is used to identify this Embedded object from within a slide.

The possible values for this attribute are defined by the ST_RelationshipId simple type (§22.8.2.1).

imgH (Image Height)

Specifies the height of the embedded control.

The possible values for this attribute are defined by the ST_PositiveCoordinate32 simple type (§20.1.10.43).

imgW (Image Width)

Specifies the width of the embedded control.

The possible values for this attribute are defined by the ST_PositiveCoordinate32 simple type (§20.1.10.43).

name (Embedded Object Name)

Specifies the identifying name class used by scripting languages. This name is also used to construct the clipboard name.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

showAsIcon (Show Embedded Object As Icon)

Specifies whether the Embedded object shows as an icon or using its native representation.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_Control) is located in §A.3. end note]

© ISO/IEC29500: 2008.

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

Control Members

DocumentFormat.OpenXml.Presentation Namespace