Drawing Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Drawing() |
Initializes a new instance of the Drawing class. |
Drawing(OpenXmlElement[]) |
Initializes a new instance of the Drawing class with the specified child elements. |
Drawing(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the Drawing class with the specified child elements. |
Drawing(String) |
Initializes a new instance of the Drawing class from outer XML. |
Drawing()
Initializes a new instance of the Drawing class.
public Drawing ();
Public Sub New ()
Applies to
Drawing(OpenXmlElement[])
Initializes a new instance of the Drawing class with the specified child elements.
public Drawing (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Wordprocessing.Drawing : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Wordprocessing.Drawing
Public Sub New (ParamArray childElements As OpenXmlElement())
Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
Drawing(IEnumerable<OpenXmlElement>)
Initializes a new instance of the Drawing class with the specified child elements.
public Drawing (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Wordprocessing.Drawing : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Wordprocessing.Drawing
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
Drawing(String)
Initializes a new instance of the Drawing class from outer XML.
public Drawing (string outerXml);
new DocumentFormat.OpenXml.Wordprocessing.Drawing : string -> DocumentFormat.OpenXml.Wordprocessing.Drawing
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.