See Also

Picture Class  | Picture Members  | LineStyle  | LineColor  | LineWeight

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

LineStyle Property

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

[Visual Basic]
Public Property LineStyle As LineStyle
[C#]
public LineStyle LineStyle {get; set;}

Return Type

A LineStyle enumeration value. Default is LineStyle.Transparent.

Example

[C#] 

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 Basic] 

Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
   Me.Picture1.LineColor = System.Drawing.Color.Navy
   Me.Picture1.LineStyle = LineStyle.Solid
   Me.Picture1.LineWeight = 2.0F
End Sub

See Also

Picture Class  | Picture Members  | LineStyle  | LineColor  | LineWeight

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.