Share via


ImageFile Constructors

Definition

Overloads

ImageFile()

Initializes a new instance of the ImageFile class.

ImageFile(OpenXmlElement[])

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

ImageFile(IEnumerable<OpenXmlElement>)

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

ImageFile(String)

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

ImageFile()

Initializes a new instance of the ImageFile class.

public ImageFile ();
Public Sub New ()

Applies to

ImageFile(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

ImageFile(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

ImageFile(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to