指示在报表包含外部图像时是否可以呈现。
命名空间: Microsoft.Reporting.WinForms
程序集: Microsoft.ReportViewer.WinForms(在 Microsoft.ReportViewer.WinForms.dll 中)
语法
声明
Public Property EnableExternalImages As Boolean
public bool EnableExternalImages { get; set; }
public:
property bool EnableExternalImages {
bool get ();
void set (bool value);
}
member EnableExternalImages : bool with get, set
function get EnableExternalImages () : boolean
function set EnableExternalImages (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 external images are not allowed to execute by default.Setting this property to true will enable local reports with external images to execute.This can be a security risk.You should not enable this property on non-trusted reports.