LocalReport.EnableExternalImages-Eigenschaft
Gibt an, ob der Bericht gerendert werden kann, wenn er externe Bilder enthält.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Syntax
'Declaration
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)
Eigenschaftswert
Typ: Boolean
Ein Boolean-Wert.Der Wert true gibt an, dass der lokale Bericht dargestellt werden kann, wenn er externe Bilder aufweist.Der Standardwert ist false.
Hinweise
If this property is set to false, then attempting to render a report that has external images will throw a ReportSecurityException.
Wichtig
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.