次の方法で共有


OleObject Class

Global Element for OLE Objects and Controls.When the object is serialized out as xml, its qualified name is p:oleObj.

Inheritance Hierarchy

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

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

Syntax

'宣言
<ChildElementInfoAttribute(GetType(OleObjectEmbed))> _
<ChildElementInfoAttribute(GetType(OleObjectLink))> _
<ChildElementInfoAttribute(GetType(Picture))> _
Public Class OleObject _
    Inherits OpenXmlCompositeElement
'使用
Dim instance As OleObject
[ChildElementInfoAttribute(typeof(OleObjectEmbed))]
[ChildElementInfoAttribute(typeof(OleObjectLink))]
[ChildElementInfoAttribute(typeof(Picture))]
public class OleObject : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • OleObjectEmbed <p:embed>

  • OleObjectLink <p:link>

  • Picture <p:pic>

[ISO/IEC 29500-1 初版]

19.3.2.4 oleObj (Global Element for Embedded objects and Controls)

This element specifies a global element to be used for an Embedded object and Control.

Child Elements

Subclause

embed (Embedded Object or Control)

§19.3.2.2

link (Linked Object or Control)

§19.3.2.3

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.

progId (Embedded Object ProgID)

Specifies the progid for an Embedded object.

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_OleObject) is located in §A.3. end note]

© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

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

OleObject Members

DocumentFormat.OpenXml.Presentation Namespace