WorksheetBase.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
Assembly: Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
Syntax
'Declaration
Public Property DisplayPageBreaks As Boolean
Get
Set
public bool DisplayPageBreaks { get; set; }
Property Value
Type: System.Boolean
true if page breaks (both automatic and manual) on the worksheet are displayed; otherwise, false.
Remarks
You cannot set this property if you do not have a printer installed.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.