共用方式為


ReportViewer.ShowZoomControl 屬性

取得或設定值,這個值表示是否可看到 [顯示比例] 清單方塊。

命名空間:  Microsoft.Reporting.WebForms
組件:  Microsoft.ReportViewer.WebForms (在 Microsoft.ReportViewer.WebForms.dll 中)

語法

'宣告
<WebBrowsableAttribute(True)> _
Public Property ShowZoomControl As Boolean
    Get
    Set
'用途
Dim instance As ReportViewer
Dim value As Boolean

value = instance.ShowZoomControl

instance.ShowZoomControl = value
[WebBrowsableAttribute(true)]
public bool ShowZoomControl { get; set; }
[WebBrowsableAttribute(true)]
public:
property bool ShowZoomControl {
    bool get ();
    void set (bool value);
}
[<WebBrowsableAttribute(true)>]
member ShowZoomControl : bool with get, set
function get ShowZoomControl () : boolean
function set ShowZoomControl (value : boolean)

屬性值

型別:System.Boolean
Boolean 值。預設值為 true。

請參閱

參考

ReportViewer 類別

Microsoft.Reporting.WebForms 命名空間