picture (Standard COM Picture Object)

This element specifies the properties of the StdPicture (classid CLSID_StdPicture, interface IPicture) object embedded in the property bag (IPersistPropertyBag interface) of an ActiveX control.

 [Example: Consider an embedded picture object named "PicturePropName" embedded in an ActiveX control.

<ax:ocx ...>

    <ax:ocxPr ax:name="PicturePropName">

        <ax:picture r:id="rId1"/>



This example specifies that binary data representing the picture object can be found at the internal location pointed to by the relation rID1, and the data is persisted using an IPersist-derived interface. end example]

More information about the details of the StdPicture object can be found in the Office Forms Binary File Format Structure Specification ("[MS-OFORMS] Section 2.4.5").

Parent Elements

ocxPr3.6.1.3, ocxPr)



id ()

Namespace: .../officeDocument/2006/relationships

Specifies the relationship ID of the relationship to the picture. The specified relationship shall be of type http://schemas.microsoft.com/office/2006/relationships/activeXControlBinary.

The target of the relationship point to the internal location where the persisted picture data is stored using the IPersist interface.

The possible values for this attribute are defined by the ST_RelationshipId simple type ("[ISO/IEC-29500-1] §").

The following XML Schema fragment defines the contents of this element:

 <complexType name="CT_Picture">
   <attribute ref="r:id"/>