LegendCellCollection.Insert Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Wstawia komórkę legendy z określonym typem komórki, tekstem i wyrównaniem do kolekcji w danej lokalizacji.
public:
void Insert(int index, System::Web::UI::DataVisualization::Charting::LegendCellType cellType, System::String ^ text, System::Drawing::ContentAlignment alignment);
public void Insert (int index, System.Web.UI.DataVisualization.Charting.LegendCellType cellType, string text, System.Drawing.ContentAlignment alignment);
override this.Insert : int * System.Web.UI.DataVisualization.Charting.LegendCellType * string * System.Drawing.ContentAlignment -> unit
Public Sub Insert (index As Integer, cellType As LegendCellType, text As String, alignment As ContentAlignment)
Parametry
- index
- Int32
Indeks lokalizacji, w której ma zostać wstawiony obiekt.
- cellType
- LegendCellType
LegendCellTypeWartość, która reprezentuje typ komórki.
- text
- String
string
Wartość, która reprezentuje tekst komórki lub jego nazwę obrazu, w zależności od wartości cellType
parametru.
- alignment
- ContentAlignment
ContentAlignmentWartość wyliczenia, która reprezentuje wyrównanie zawartości komórki legendy.