ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / Image Class / Value Property
Example

Value Property (Image)
Gets or sets the value of the image.
Syntax
'Declaration
 
Public Property Value As ExpressionInfo
 

Property Value

An GrapeCity.Enterprise.Data.Expressions.ExpressionInfo object containing the value of the image.
Remarks

The value depends on the Source property setting.

If Source is set to ImageSource.External, the value is the URL or file path of the image.

If Source is set to ImageSource.Embedded, the value is the name of the EmbeddedImage in the report.

If Source is set to ImageSource.Database, the value is the binary data of the image.

Example
Image image = new Image();
image.Source = ImageSource.Embedded;
image.Value = ExpressionInfo.FromString("LogoImage");
See Also