LegendCellCollection.Add(LegendCellType, String, ContentAlignment) Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Agrega una celda de leyenda con el tipo de celda, el texto y la alineación especificados al final de la colección.
public:
int Add(System::Web::UI::DataVisualization::Charting::LegendCellType cellType, System::String ^ text, System::Drawing::ContentAlignment alignment);
public int Add(System.Web.UI.DataVisualization.Charting.LegendCellType cellType, string text, System.Drawing.ContentAlignment alignment);
override this.Add : System.Web.UI.DataVisualization.Charting.LegendCellType * string * System.Drawing.ContentAlignment -> int
Public Function Add (cellType As LegendCellType, text As String, alignment As ContentAlignment) As Integer
Parámetros
- 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 que representa la alineación del contenido de la celda.
Devoluciones
Valor integer que representa el índice de la celda de leyenda recién agregada en la colección. El índice es de base cero.