# OLEObject element

For more information on this element, please refer to the VML Reference, located online in the Microsoft Developer Network (MSDN) Library at VML Reference.

## Usage

    <OLEObject
    	Type="xsd:string"
    	ProgID="xsd:string"
    	ShapeID="xsd:string"
    	DrawAspect="xsd:string"
    	ObjectID="xsd:integer"
    />

## Element Information

Element type | Anonymous
Namespace | urn:schemas-microsoft-com:office:office
Schema name | Common Properties

## Elements and Attributes

### Child Elements

None.

### Attributes

Attribute | Type | Required | Description | Possible Values
--- | --- | --- | --- | ---
Type | xsd:string | optional | For more information on this element, please refer to the VML Reference, located online in the Microsoft Developer Network (MSDN) Library. | See external namespace.
ProgID | xsd:string | optional | For more information on this element, please refer to the VML Reference, located online in the Microsoft Developer Network (MSDN) Library. | See external namespace.
ShapeID | xsd:string | optional | For more information on this element, please refer to the VML Reference, located online in the Microsoft Developer Network (MSDN) Library. | See external namespace.
DrawAspect | xsd:string | optional | For more information on this element, please refer to the VML Reference, located online in the Microsoft Developer Network (MSDN) Library. | See external namespace.
ObjectID | xsd:integer | optional | For more information on this element, please refer to the VML Reference, located online in the Microsoft Developer Network (MSDN) Library. | See external namespace.

## Definition

    <xsd:element name="OLEObject" >
      <xsd:complexType>
        <xsd:sequence>
          <xsd:any processContents="lax" namespace="##any"></xsd:any>
        </xsd:sequence>
        <xsd:attribute name="Type" type="xsd:string" use="optional"></xsd:attribute>
        <xsd:attribute name="ProgID" type="xsd:string" use="optional"></xsd:attribute>
        <xsd:attribute name="ShapeID" type="xsd:string" use="optional"></xsd:attribute>
        <xsd:attribute name="DrawAspect" type="xsd:string" use="optional"></xsd:attribute>
        <xsd:attribute name="ObjectID" type="xsd:integer" use="optional"></xsd:attribute>
      </xsd:complexType>
    </xsd:element>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp