Breaks Property

Microsoft Word Visual Basic

Breaks Property

Returns a Breaks collection that represents the breaks on a page. The Breaks collection includes page, column, and section breaks.

expression.Breaks

expression    Required. An expression that returns a Page object.

Remarks

Use the Breaks collection and the related objects and properties to programmatically define page layout in a document.

Example

The following example returns the breaks on the first page in the active document.

    Dim objBreaks As Breaks

Set objBreaks = ActiveDocument.ActiveWindow _
    .Panes(1).Pages(1).Breaks