ESRI.ArcGIS.ADF.IMS
SimpleLineSymbol Constructor(Color,Int32,LineType,CapType,JoinType)
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Display.Symbol Namespace > SimpleLineSymbol Class > SimpleLineSymbol Constructor : SimpleLineSymbol Constructor(Color,Int32,LineType,CapType,JoinType)




color
The color of the line.
width
The width of the line in pixels.
type
The style of the line.
capType
The line end style.
joinType
The line join style.
Constructs a SimpleLineSymbol.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal color As Color, _
   ByVal width As Integer, _
   ByVal type As LineType, _
   ByVal capType As CapType, _
   ByVal joinType As JoinType _
)
Visual Basic (Usage)Copy Code
Dim color As Color
Dim width As Integer
Dim type As LineType
Dim capType As CapType
Dim joinType As JoinType
 
Dim instance As New SimpleLineSymbol(color, width, type, capType, joinType)
C# 
public SimpleLineSymbol( 
   Color color,
   int width,
   LineType type,
   CapType capType,
   JoinType joinType
)

Parameters

color
The color of the line.
width
The width of the line in pixels.
type
The style of the line.
capType
The line end style.
joinType
The line join style.

Example

For an example of using SimpleLineSymbol, see the SimpleLineSymbol overview.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.