ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / Picture Class
Properties Methods

In This Topic
    Picture Class Members
    In This Topic

    The following tables list the members exposed by Picture.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the Picture class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the background color of the control area.  
    Public PropertyGets or sets the alternate description for the picture.  Used in the Html Export for the "alt" img tag property.  
    Public PropertyGets or sets a URL address that can be used in the viewer's HyperLink event to navigate to the specified location.  The URL is automatically converted into an anchor tag or a hyperlink in HTML and PDF exports.  
    Public PropertyGets or sets the Image to be printed in the Picture control.  
    Public PropertyGets or sets the Image to be printed in the Picture control. This snippet shows how to load data in script into Picture instance with name "Picture1". public void Detail_Format() { this.Picture1.ImageBytes = System.IO.File.ReadAllBytes("\\mycompany.gif"); } This snippet shows how to load data in code-based reports into Picture instance with name "picture1". Subscribe to event Section.Format of Detail of your report. private void detail_Format(object sender, System.EventArgs eArgs) { this.picture1.ImageBytes = System.IO.File.ReadAllBytes("\\mycompany.gif"); }  
    Public PropertyGets or sets the border line color around the picture control.  
    Public PropertyGets or sets the pen style used to paint the border around the picture control.  
    Public PropertyGets or sets the pen width of the line in pixels.  
    Public PropertyGets or sets the position of the image within the control area.  
    Public PropertyGets or sets a value that determines how the image is sized to fit the Picture control area.  
    Public PropertyGets or sets a URL address that can be used in the viewer's HyperLink event to navigate to the specified location.  The URL is automatically converted into an anchor tag or a hyperlink in HTML and PDF exports.  
    Top
    Public Methods
     NameDescription
    Public MethodSets the current image to null.  
    Top
    See Also