LocalReport.EnableHyperlinks 屬性

 

發佈時間: 2016年4月

指出在報表含有超連結動作時,是否能轉譯報表。

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

語法

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

屬性值

Type: System.Boolean

Boolean 值。 此值為 true 時,表示具有外部影像時可呈現本機報表。 預設值是 false

備註

If this property is set to false, then attempting to render a report that has external images will throw a ReportSecurityException.

重要

Local reports that contain hyperlinks are not allowed to execute by default.Setting this property to true will enable local reports with hyperlinks to execute.This can be a security risk.You should not enable this property on non-trusted reports.

請參閱

LocalReport 類別
Microsoft.Reporting.WinForms 命名空間

回到頁首