ReportViewer.ShowPrintButton 屬性
取得或設定值,這個值表示是否可以看到 [列印] 按鈕。
命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (在 Microsoft.ReportViewer.WinForms.dll 中)
語法
'宣告
Public Property ShowPrintButton As Boolean
Get
Set
'用途
Dim instance As ReportViewer
Dim value As Boolean
value = instance.ShowPrintButton
instance.ShowPrintButton = value
public bool ShowPrintButton { get; set; }
public:
property bool ShowPrintButton {
bool get ();
void set (bool value);
}
member ShowPrintButton : bool with get, set
function get ShowPrintButton () : boolean
function set ShowPrintButton (value : boolean)
屬性值
型別:System.Boolean
如果可以看到列印函式的按鈕,則為 true,否則為 false。預設為 true。
備註
受到這個屬性影響的按鈕包括列印、版面設定和預覽列印。