Sdílet prostřednictvím


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::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

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

cellType
LegendCellType

LegendCellTypeHodnota, která představuje typ buňky.

text
String

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

alignment
ContentAlignment

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

Platí pro