Język

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::Windows::Forms::DataVisualization::Charting::LegendCellType cellType, System::String ^ text, System::Drawing::ContentAlignment alignment);
public void Insert(int index, System.Windows.Forms.DataVisualization.Charting.LegendCellType cellType, string text, System.Drawing.ContentAlignment alignment);
override this.Insert : int * System.Windows.Forms.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 celu wstawienia obiektu.

cellType
LegendCellType

LegendCellType Wartość reprezentująca typ komórki.

text
String

string Wartość reprezentująca tekst komórki lub jego nazwę obrazu w zależności od wartości parametrucellType.

alignment
ContentAlignment

ContentAlignment Wartość wyliczenia reprezentująca wyrównanie zawartości komórki legendy.

Dotyczy