Share via


ObjectAnchor Constructors

Definition

Overloads

ObjectAnchor()

Initializes a new instance of the ObjectAnchor class.

ObjectAnchor(OpenXmlElement[])

Initializes a new instance of the ObjectAnchor class with the specified child elements.

ObjectAnchor(IEnumerable<OpenXmlElement>)

Initializes a new instance of the ObjectAnchor class with the specified child elements.

ObjectAnchor(String)

Initializes a new instance of the ObjectAnchor class from outer XML.

ObjectAnchor()

Initializes a new instance of the ObjectAnchor class.

public ObjectAnchor ();
Public Sub New ()

Applies to

ObjectAnchor(OpenXmlElement[])

Initializes a new instance of the ObjectAnchor class with the specified child elements.

public ObjectAnchor (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Spreadsheet.ObjectAnchor : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Spreadsheet.ObjectAnchor
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

ObjectAnchor(IEnumerable<OpenXmlElement>)

Initializes a new instance of the ObjectAnchor class with the specified child elements.

public ObjectAnchor (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Spreadsheet.ObjectAnchor : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Spreadsheet.ObjectAnchor
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

ObjectAnchor(String)

Initializes a new instance of the ObjectAnchor class from outer XML.

public ObjectAnchor (string outerXml);
new DocumentFormat.OpenXml.Spreadsheet.ObjectAnchor : string -> DocumentFormat.OpenXml.Spreadsheet.ObjectAnchor
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to