Share via


_Worksheet.DisplayPageBreaks Property

True if page breaks (both automatic and manual) on the specified worksheet are displayed. Read/write Boolean.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property DisplayPageBreaks As Boolean
    Get
    Set
'Usage
Dim instance As _Worksheet
Dim value As Boolean

value = instance.DisplayPageBreaks

instance.DisplayPageBreaks = value
bool DisplayPageBreaks { get; set; }

Property Value

Type: System.Boolean

Remarks

You can't set this property if you don't have a printer installed.

See Also

Reference

_Worksheet Interface

_Worksheet Members

Microsoft.Office.Interop.Excel Namespace