Dundas Chart for Windows Forms
CustomLabel Constructor(Double,Double,String,LabelRow,LabelMark,GridTick)
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > CustomLabel Class > CustomLabel Constructor : CustomLabel Constructor(Double,Double,String,LabelRow,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.
row

Row property of the CustomLabel object. The row the label is for.


Label row.
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 row As LabelRow, _
   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 row As LabelRow
Dim mark As LabelMark
Dim gridTick As GridTick
 
Dim instance As CustomLabel(fromPosition, toPosition, text, row, mark, gridTick)
C#  
public CustomLabel( 
   double fromPosition,
   double toPosition,
   string text,
   LabelRow row,
   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.
row

Row property of the CustomLabel object. The row the label is for.


Label row.
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.