LegendCellCollection.Add(LegendCellType, String, ContentAlignment) 메서드

정의

지정한 셀 형식, 텍스트 및 맞춤이 있는 범례 셀을 컬렉션의 끝에 추가합니다.

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

매개 변수

cellType
LegendCellType

LegendCellType 셀 형식을 나타내는 값입니다.

text
String

string 매개 변수 값에 따라 셀 텍스트 또는 해당 이미지 이름을 나타내는 값 cellType 입니다.

alignment
ContentAlignment

ContentAlignment 셀 내용 맞춤을 나타내는 값입니다.

반품

integer 컬렉션에서 새로 추가된 범례 셀의 인덱스를 나타내는 값입니다. 인덱스는 0부터 시작합니다.

적용 대상