# ocxType complexType

Contains data for the OCX control this object represents.

## Type Information

Namespace | http://schemas.microsoft.com/office/word/2003/wordml
Schema name | XML Document 2003

## Elements and Attributes

### Child Elements

None.

### Attributes

Attribute | Type | Required | Description | Possible Values
--- | --- | --- | --- | ---
id | stringType | required | Gets or sets an OCX control ID. |
name | stringType | optional | Gets or sets the name. |
classid | stringType | required | Gets or sets the class ID. |
shapeid | stringType | optional | Gets or sets the shape ID. |
class | stringType | optional | Gets or sets the class name. |
w | stringType | required | Gets or sets the width. |
h | stringType | required | Gets or sets the height. |
align | stringType | optional | Gets or sets the alignment. |
data | stringType | optional | Gets or sets OCX control data. |
wx:iPersistPropertyBag | external ref | optional | See external namespace. | See external namespace.

## Definition

    <xsd:complexType name="ocxType" >
      <xsd:attribute name="id" type="stringType" use="required">
      </xsd:attribute>
      <xsd:attribute name="name" type="stringType" use="optional">
      </xsd:attribute>
      <xsd:attribute name="classid" type="stringType" use="required">
      </xsd:attribute>
      <xsd:attribute name="shapeid" type="stringType" use="optional">
      </xsd:attribute>
      <xsd:attribute name="class" type="stringType" use="optional"></xsd:attribute>
      <xsd:attribute name="w" type="stringType" use="required">
      </xsd:attribute>
      <xsd:attribute name="h" type="stringType" use="required">
      </xsd:attribute>
      <xsd:attribute name="align" type="stringType" use="optional">
      </xsd:attribute>
      <xsd:attribute name="data" type="stringType" use="optional">
      </xsd:attribute>
      <xsd:attribute ref="wx:iPersistPropertyBag" use="optional">
      </xsd:attribute>
    </xsd:complexType>

©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