共用方式為


WorksheetBase.DisplayPageBreaks Property

Definition

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

public:
 property bool DisplayPageBreaks { bool get(); void set(bool value); };
public bool DisplayPageBreaks { get; set; }
member this.DisplayPageBreaks : bool with get, set
Public Property DisplayPageBreaks As Boolean

Property Value

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.

Applies to