A report element that draws an image.
Namespace: MindFusion.Reporting
Assembly: MindFusion.Reporting
C# Copy Code |
---|
public class Picture : ReportItem |
Visual Basic Copy Code |
---|
Public Class Picture |
In order to associate an image with the Picture element, create a .NET System.Drawing.Image object and assign it to its Image property. The stretching and alignment of the displayed image can be specified through the ImageAlign property.
Alternatively, pictures can be bound to fields in a data source. To do this, the picture must be placed in a data-bound DataRange object and its DataField property must be set to the name of the respective data field. For more information regarding this, check the Report Items and Binding Reports to a Data Source topics.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
MindFusion.Reporting.ReportItem
MindFusion.Reporting.Picture