共用方式為


ReportViewer.ZoomPercent 屬性

取得或設定報表顯示所用的縮放百分比。

命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (在 microsoft.reportviewer.winforms.dll)

語法

'宣告
<DefaultValueAttribute(100)> _
<CategoryAttribute("Appearance")> _
<SRDescriptionAttribute("ZoomPercentDesc")> _
Public Property ZoomPercent As Integer
'用途
Dim instance As ReportViewer
Dim value As Integer

value = instance.ZoomPercent

instance.ZoomPercent = value
[DefaultValueAttribute(100)] 
[CategoryAttribute("Appearance")] 
[SRDescriptionAttribute("ZoomPercentDesc")] 
public int ZoomPercent { get; set; }
[DefaultValueAttribute(100)] 
[CategoryAttribute(L"Appearance")] 
public:
int ZoomPercent {
    int get ();
    void set (int value);
}
/** @property */
public int get_ZoomPercent ()

/** @property */
public void set_ZoomPercent (int value)
public function get ZoomPercent () : int

public function set ZoomPercent (value : int)

屬性值

包含縮放百分比的 integer 值。

另請參閱

參考

ReportViewer 類別
ReportViewer 成員
Microsoft.Reporting.WinForms 命名空間