ObjectProperties class

Office 2013 and later

Defines the ObjectProperties Class.This class is only available in Office2013. When the object is serialized out as xml, its qualified name is a15:objectPr.

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2013.Drawing.ObjectProperties

Namespace:  DocumentFormat.OpenXml.Office2013.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

[OfficeAvailabilityAttribute(FileFormatVersions.Office2013)]
public class ObjectProperties : OpenXmlLeafElement

2.3.50 objectPr

Target namespace: http://schemas.microsoft.com/office/drawing/2012/main

A CT_ObjectPr element<109> that specifies object properties of a control or object.

An extension list child element of:CT_NonVisualPictureProperties(cNvPicPr) as specified in [ISO/IEC-29500-1] section 19.3.1.11.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

<xsd:element name="objectPr" type="CT_ObjectPr"/>

See section 5.14 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

2.5.88 CT_ObjectPr

Target namespace: http://schemas.microsoft.com/office/drawing/2012/main

Referenced by: objectPr

This complex type specifies the object properties of a control or an object.<149>

Attributes:

objectId: A string ([XMLSCHEMA2] section 3.2.1) attribute that specifies a unique ID identifying the OLE Object.

isActiveX: A boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the object is an ActiveX object.

linkType: A string ([XMLSCHEMA2] section 3.2.1) attribute that specifies the type of image that shall be requested from the application which hosts embedded object data for a linked object.

The following are the possible values for this attribute:

Value

Meaning

Bitmap

(Bitmap Image) Specifies that a bitmap shall be requested.

EnhancedMetaFile

(Enhanced Metafile Image) Specifies that an enhanced metafile shall be

requested.

Picture

(Other Image) Specifies that any image format may be requested.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_ObjectPr">

<xsd:attribute name="objectId" type="xsd:string"/>

<xsd:attribute name="isActiveX" type="xsd:boolean"/>

<xsd:attribute name="linkType" type="xsd:string"/>

</xsd:complexType>

See section 5.14 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: