Share via


Canvas Constructors

Definition

Overloads

Canvas()

Initializes a new instance of the Canvas class.

Canvas(OpenXmlElement[])

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

Canvas(IEnumerable<OpenXmlElement>)

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

Canvas(String)

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

Canvas()

Initializes a new instance of the Canvas class.

public Canvas ();
Public Sub New ()

Applies to

Canvas(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Canvas(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Canvas(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to