Picture 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
Picture() |
Initializes a new instance of the Picture class. |
Picture(OpenXmlElement[]) |
Initializes a new instance of the Picture class with the specified child elements. |
Picture(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the Picture class with the specified child elements. |
Picture(String) |
Initializes a new instance of the Picture class from outer XML. |
Picture()
Initializes a new instance of the Picture class.
public Picture ();
Public Sub New ()
Applies to
Picture(OpenXmlElement[])
Initializes a new instance of the Picture class with the specified child elements.
public Picture (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Drawing.Pictures.Picture : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Drawing.Pictures.Picture
Public Sub New (ParamArray childElements As OpenXmlElement())
Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
Picture(IEnumerable<OpenXmlElement>)
Initializes a new instance of the Picture class with the specified child elements.
public Picture (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Drawing.Pictures.Picture : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Drawing.Pictures.Picture
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
Picture(String)
Initializes a new instance of the Picture class from outer XML.
public Picture (string outerXml);
new DocumentFormat.OpenXml.Drawing.Pictures.Picture : string -> DocumentFormat.OpenXml.Drawing.Pictures.Picture
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.