共用方式為


PatternFill Constructors

Definition

Overloads

PatternFill()

Initializes a new instance of the PatternFill class.

PatternFill(OpenXmlElement[])

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

PatternFill(IEnumerable<OpenXmlElement>)

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

PatternFill(String)

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

PatternFill()

Initializes a new instance of the PatternFill class.

public PatternFill ();
Public Sub New ()

Applies to

PatternFill(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

PatternFill(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

PatternFill(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to