Worksheet.DisplayPageBreaks Property (2007 System)
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.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public Property DisplayPageBreaks As Boolean
'Usage
Dim instance As Worksheet
Dim value As Boolean
value = instance.DisplayPageBreaks
instance.DisplayPageBreaks = value
[BrowsableAttribute(false)]
public bool DisplayPageBreaks { get; set; }
[BrowsableAttribute(false)]
public:
property bool DisplayPageBreaks {
bool get ();
void set (bool value);
}
public function get DisplayPageBreaks () : boolean
public function set DisplayPageBreaks (value : boolean)
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.