ocx element

Contains data for the OCX control this object represents.

## Usage

    <ocx
    	id="stringType"
    	name="stringType"
    	classid="stringType"
    	shapeid="stringType"
    	class="stringType"
    	w="stringType"
    	h="stringType"
    	align="stringType"
    	data="stringType"
    	wx:iPersistPropertyBag="[external type]"
    />

## Element Information

Element type | ocxType
Namespace | http://schemas.microsoft.com/office/word/2003/wordml
Schema name | wordnet

## Elements and Attributes

### Parent Elements

Element | Description
--- | ---
pict | Represents a picture or other binary object that appears at this point in the document.
bgPict | Represents background picture information.

### 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. | n/a

## Definition

XML
    <xsd:element name="ocx" type="ocxType" minOccurs="0" ">

            </xsd:element>

©2006 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/odcXMLRefLegalNotice12.asp