Język

CustomLabel Konstruktory

Definicja

Tworzy nowe wystąpienie CustomLabel klasy.

Przeciążenia

Nazwa Opis
CustomLabel()

Tworzy nowe wystąpienie CustomLabel klasy.

CustomLabel(Double, Double, String, Int32, LabelMarkStyle)

Inicjuje nowe wystąpienie CustomLabel klasy z określonymi fromPositionparametrami , toPosition, text, labelRowi markStyle .

CustomLabel(Double, Double, String, Int32, LabelMarkStyle, GridTickTypes)

Inicjuje nowe wystąpienie CustomLabel klasy z określonymi fromPositionparametrami , toPosition, text, labelRowmarkStyle i gridTick .

CustomLabel()

Tworzy nowe wystąpienie CustomLabel klasy.

public:
 CustomLabel();
public CustomLabel();
Public Sub New ()

Uwagi

Ten konstruktor może służyć do tworzenia i inicjowania nowego wystąpienia CustomLabel klasy.

Zaleca się jednak użycie jednej z Add metod w klasie w CustomLabelsCollection celu dodania etykiet niestandardowych.

Dotyczy

CustomLabel(Double, Double, String, Int32, LabelMarkStyle)

Inicjuje nowe wystąpienie CustomLabel klasy z określonymi fromPositionparametrami , toPosition, text, labelRowi markStyle .

public:
 CustomLabel(double fromPosition, double toPosition, System::String ^ text, int labelRow, System::Windows::Forms::DataVisualization::Charting::LabelMarkStyle markStyle);
public CustomLabel(double fromPosition, double toPosition, string text, int labelRow, System.Windows.Forms.DataVisualization.Charting.LabelMarkStyle markStyle);
new System.Windows.Forms.DataVisualization.Charting.CustomLabel : double * double * string * int * System.Windows.Forms.DataVisualization.Charting.LabelMarkStyle -> System.Windows.Forms.DataVisualization.Charting.CustomLabel
Public Sub New (fromPosition As Double, toPosition As Double, text As String, labelRow As Integer, markStyle As LabelMarkStyle)

Parametry

fromPosition
Double

Początek zakresu osi, do których ma zastosowanie etykieta.

toPosition
Double

Koniec zakresu osi, do których ma zastosowanie etykieta.

text
String

Tekst etykiety.

labelRow
Int32

Indeks wiersza etykiety.

markStyle
LabelMarkStyle

Styl znacznika etykiety.

Dotyczy

CustomLabel(Double, Double, String, Int32, LabelMarkStyle, GridTickTypes)

Inicjuje nowe wystąpienie CustomLabel klasy z określonymi fromPositionparametrami , toPosition, text, labelRowmarkStyle i gridTick .

public:
 CustomLabel(double fromPosition, double toPosition, System::String ^ text, int labelRow, System::Windows::Forms::DataVisualization::Charting::LabelMarkStyle markStyle, System::Windows::Forms::DataVisualization::Charting::GridTickTypes gridTick);
public CustomLabel(double fromPosition, double toPosition, string text, int labelRow, System.Windows.Forms.DataVisualization.Charting.LabelMarkStyle markStyle, System.Windows.Forms.DataVisualization.Charting.GridTickTypes gridTick);
new System.Windows.Forms.DataVisualization.Charting.CustomLabel : double * double * string * int * System.Windows.Forms.DataVisualization.Charting.LabelMarkStyle * System.Windows.Forms.DataVisualization.Charting.GridTickTypes -> System.Windows.Forms.DataVisualization.Charting.CustomLabel
Public Sub New (fromPosition As Double, toPosition As Double, text As String, labelRow As Integer, markStyle As LabelMarkStyle, gridTick As GridTickTypes)

Parametry

fromPosition
Double

Początek zakresu osi, do których ma zastosowanie etykieta.

toPosition
Double

Koniec zakresu osi, do których ma zastosowanie etykieta.

text
String

Tekst etykiety.

labelRow
Int32

Indeks wiersza etykiety.

markStyle
LabelMarkStyle

Styl znacznika etykiety.

gridTick
GridTickTypes

Niestandardowa linia siatki i/lub znaczniki oznacza flagę.

Dotyczy