LegendCellCollection.Insert Metoda

Definice

Vloží buňku legendy se zadaným typem buňky, textem a zarovnáním do kolekce v daném umístění.

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

Index umístění pro vložení objektu

cellType
LegendCellType

Hodnota LegendCellType , která představuje typ buňky.

text
String

Hodnota string , která představuje text buňky nebo název obrázku v závislosti na hodnotě parametru cellType .

alignment
ContentAlignment

ContentAlignment Hodnota výčtu, která představuje zarovnání obsahu buňky legendy.

Platí pro