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


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.

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 _
)
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 instance As CustomLabel(fromPosition, toPosition, text, labelRow, mark)
C#  
public CustomLabel( 
   double fromPosition,
   double toPosition,
   string text,
   int labelRow,
   LabelMark mark
)

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.

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.