ActiveReports 8
LineStyle Property
See Also  Example
GrapeCity.ActiveReports.v8 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace > Picture Class : LineStyle Property

Glossary Item Box

Gets or sets the pen style used to paint the border around the picture control.

Syntax

Visual Basic (Declaration) 
Public Property LineStyle As LineStyle
C# 
public LineStyle LineStyle {get; set;}

Property Value

A LineStyle enumeration value. Default is LineStyle.Transparent.

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.picture1.LineColor = System.Drawing.Color.Navy;
    this.picture1.LineStyle = LineStyle.Solid;
    this.picture1.LineWeight = 2.0f;
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
   Me.Picture1.LineColor = System.Drawing.Color.Navy
   Me.Picture1.LineStyle = LineStyle.Solid
   Me.Picture1.LineWeight = 2.0F
End Sub

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Picture Class
Picture Members
ActiveReports6~GrapeCity.ActiveReports.LineStyle
ActiveReports6~GrapeCity.ActiveReports.Picture~LineColor
ActiveReports6~GrapeCity.ActiveReports.Picture~LineWeight