LocalReport.EnableHyperlinks 属性

指示在报表包含超链接操作时是否可以呈现。

命名空间:  Microsoft.Reporting.WinForms
程序集:  Microsoft.ReportViewer.WinForms(在 Microsoft.ReportViewer.WinForms.dll 中)

语法

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

属性值

类型: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 命名空间