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