Udostępnij za pośrednictwem


LegendCellCollection.Insert Metoda

Definicja

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

stringWartość, 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.

Dotyczy