Partager via


ColumnBreaks Class

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

Inheritance Hierarchy

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

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

Syntax

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

Remarks

The following table lists the possible child types:

  • Break <x:brk>

[ISO/IEC 29500-1 1st Edition]

18.3.1.14 colBreaks (Vertical Page Breaks)

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

[Example:

In this example, a page break has been inserted at C3 (the break occurs left and above C3).

<colBreaks count="1" manualBreakCount="1">
<brk id="2" max="1048575" man="1"/>
</colBreaks>

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

ColumnBreaks Members

DocumentFormat.OpenXml.Spreadsheet Namespace