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