ActiveXObjectProperty Class

Defines the ActiveXObjectProperty Class.When the object is serialized out as xml, its qualified name is ax:ocxPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office.ActiveX.ActiveXObjectProperty

Namespace:  DocumentFormat.OpenXml.Office.ActiveX
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(SharedComPicture))> _
<ChildElementInfoAttribute(GetType(SharedComFont))> _
Public Class ActiveXObjectProperty _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As ActiveXObjectProperty
[ChildElementInfoAttribute(typeof(SharedComPicture))]
[ChildElementInfoAttribute(typeof(SharedComFont))]
public class ActiveXObjectProperty : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • SharedComFont <ax:font>

  • SharedComPicture <ax:picture>

Thread Safety

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

See Also

Reference

ActiveXObjectProperty Members

DocumentFormat.OpenXml.Office.ActiveX Namespace