共用方式為


Pages Constructors

Definition

Overloads

Pages()

Initializes a new instance of the Pages class.

Pages(OpenXmlElement[])

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

Pages(IEnumerable<OpenXmlElement>)

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

Pages(String)

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

Pages()

Initializes a new instance of the Pages class.

public Pages ();
Public Sub New ()

Applies to

Pages(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Pages(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Pages(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to