Page.Breaks Property

Word Developer Reference

Returns a Breaks collection that represents the breaks on a page. .

Syntax

expression.Breaks

expression   Required. A variable that represents a Page object.

Remarks

The Breaks collection includes page, column, and section breaks. 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.

Visual Basic for Applications
  Dim objBreaks As Breaks

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

See Also