LegendCellCollection.Add(LegendCellType, String, ContentAlignment) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정한 셀 형식, 텍스트 및 맞춤이 있는 범례 셀을 컬렉션의 끝에 추가합니다.
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부터 시작합니다.