Поделиться через


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

'Декларация
Public Class ColumnBreaks _
    Inherits PageBreakType
'Применение
Dim instance As ColumnBreaks
public class ColumnBreaks : PageBreakType

Remarks

The following table lists the possible child types:

  • Break <x:brk>

[ISO/IEC 29500-1 редакция 1]

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. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и ISO не несет ответственности за эти переводы.

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