Partager via


RowBreaks Class

Horizontal Page Breaks.When the object is serialized out as xml, its qualified name is x:rowBreaks.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.PageBreakType
        DocumentFormat.OpenXml.Spreadsheet.RowBreaks

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class RowBreaks _
    Inherits PageBreakType
'Usage
Dim instance As RowBreaks
public class RowBreaks : PageBreakType

Remarks

The following table lists the possible child types:

  • Break <x:brk>

[ISO/IEC 29500-1 1st Edition]

18.3.1.74 rowBreaks (Horizontal Page Breaks (Row))

Horizontal page break information used for print layout view, page layout view, drawing print breaks in normal view, and for printing the worksheet.

[Example:This example shows a break inserted at cell B25:

<rowBreaks count="1" manualBreakCount="1">
<brk id="24" max="16383" man="1"/>
</rowBreaks>

end example]

Parent Elements

customSheetView (§18.3.1.25); worksheet (§18.3.1.99)

Child Elements

Subclause

brk (Break)

§18.3.1.3

Attributes

Description

count (Page Break Count)

Number of breaks in the collection.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

manualBreakCount (Manual Break Count)

Number of manual breaks in the collection.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_PageBreak) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

RowBreaks Members

DocumentFormat.OpenXml.Spreadsheet Namespace