LegendCellCollection.Insert Método

Definição

Insere uma célula de legenda com o tipo de célula, o texto e o alinhamento especificados na coleção em um determinado local.

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 do local para inserir o objeto.

cellType
LegendCellType

Um LegendCellType valor que representa o tipo de célula.

text
String

Um string valor que representa o texto da célula ou seu nome de imagem, dependendo do valor do cellType parâmetro.

alignment
ContentAlignment

Um ContentAlignment valor de enumeração que representa o alinhamento do conteúdo da célula da legenda.

Aplica-se a