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