LegendCellCollection.Insert Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts a legend cell with the specified cell type, text and alignment into the collection at a given location.
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)
Parameters
- index
- Int32
Index of the location to insert the object.
- cellType
- LegendCellType
A LegendCellType value that represents the cell type.
- text
- String
A string
value that represents either the cell text or its image name, depending on the value of the cellType
parameter.
- alignment
- ContentAlignment
A ContentAlignment enumeration value that represents the alignment of the legend cell content.
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per