共用方式為


WorksheetDrawing Constructors

Definition

Overloads

WorksheetDrawing()

Initializes a new instance of the WorksheetDrawing class.

WorksheetDrawing(OpenXmlElement[])

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

WorksheetDrawing(IEnumerable<OpenXmlElement>)

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

WorksheetDrawing(String)

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

WorksheetDrawing()

Initializes a new instance of the WorksheetDrawing class.

public WorksheetDrawing ();
Public Sub New ()

Applies to

WorksheetDrawing(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

WorksheetDrawing(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

WorksheetDrawing(String)

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

public WorksheetDrawing (string outerXml);
new DocumentFormat.OpenXml.Drawing.Spreadsheet.WorksheetDrawing : string -> DocumentFormat.OpenXml.Drawing.Spreadsheet.WorksheetDrawing
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to