LegendCellCollection.Insert Metod

Definition

Infogar en förklaringscell med den angivna celltypen, text och justering i samlingen på en viss plats.

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)

Parametrar

index
Int32

Index för platsen där objektet ska infogas.

cellType
LegendCellType

Ett LegendCellType värde som representerar celltypen.

text
String

Ett string värde som representerar antingen celltexten eller dess bildnamn, beroende på parameterns cellType värde.

alignment
ContentAlignment

Ett ContentAlignment uppräkningsvärde som representerar justeringen av förklaringscellinnehållet.

Gäller för