LegendCellCollection.Insert Método

Definición

Inserta una celda de leyenda con el tipo de celda, el texto y la alineación especificados en la colección en una ubicación determinada.

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)

Parámetros

index
Int32

Índice de la ubicación para insertar el objeto.

cellType
LegendCellType

Valor LegendCellType que representa el tipo de celda.

text
String

Valor string que representa el texto de la celda o su nombre de imagen, según el valor del cellType parámetro.

alignment
ContentAlignment

Valor ContentAlignment de enumeración que representa la alineación del contenido de la celda de leyenda.

Se aplica a