Expand Minimize

Worksheet.DisplayPageBreaks Property

Gets or sets a value that indicates whether page breaks (both automatic and manual) on the worksheet are displayed.

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

bool DisplayPageBreaks { get; set; }

Property Value

Type: System.Boolean
true if page breaks (both automatic and manual) on the worksheet are displayed; otherwise, false.

You cannot set this property if you do not have a printer installed.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft