Dundas Chart for Windows Forms
CustomLabel Constructor(Double,Double,String,Int32,LabelMark,GridTick)
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > CustomLabel Class > CustomLabel Constructor : CustomLabel Constructor(Double,Double,String,Int32,LabelMark,GridTick)


fromPosition
The beginning of the axis range the label applies to.
From position.
toPosition
The end of the axis range the label applies to.
To position.
text

Text property of the CustomLabel object. The label text.


Label text.
labelRow
Label row index.
Label row index.
mark

LabelMark property of the CustomLabel object. Label mark, if specified.


Label mark.
gridTick
Custom grid line and/or tick marks flag.
Custom grid line or/and tick marks flag.

Creates and initializes a new instance of the CustomLabel class.


Custom label constructor

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal fromPosition As Double, _
   ByVal toPosition As Double, _
   ByVal text As String, _
   ByVal labelRow As Integer, _
   ByVal mark As LabelMark, _
   ByVal gridTick As GridTick _
)
Visual Basic (Usage) Copy Code
Dim fromPosition As Double
Dim toPosition As Double
Dim text As String
Dim labelRow As Integer
Dim mark As LabelMark
Dim gridTick As GridTick
 
Dim instance As CustomLabel(fromPosition, toPosition, text, labelRow, mark, gridTick)
C#  
public CustomLabel( 
   double fromPosition,
   double toPosition,
   string text,
   int labelRow,
   LabelMark mark,
   GridTick gridTick
)

Parameters

fromPosition
The beginning of the axis range the label applies to.
From position.
toPosition
The end of the axis range the label applies to.
To position.
text

Text property of the CustomLabel object. The label text.


Label text.
labelRow
Label row index.
Label row index.
mark

LabelMark property of the CustomLabel object. Label mark, if specified.


Label mark.
gridTick
Custom grid line and/or tick marks flag.
Custom grid line or/and tick marks flag.

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

© 2009 All Rights Reserved.