Share via


ocx element [Word 2003 XML Reference] --  Microsoft Office Word 2003 XML Software Development Kit

ocx element [Word 2003 XML Reference]

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 XML Document 2003

Elements and Attributes

Parent Elements

Element Description
pict Represents a picture or other binary object that appears at this point in the document.
pict Represents the picture data for the picture bullet.
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. See external namespace.

Definition

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

©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