AODL.Document.Content.Charts.ChartBuilderHelper.CreateTableFromCellRange C# (CSharp) 메소드

CreateTableFromCellRange() 공개 메소드

build the data table of the chart according to the struct of the cell range copy the data from the spreadsheet document table according to the cell range
public CreateTableFromCellRange ( ) : Table
리턴 AODL.Document.Content.Tables.Table
		public Table CreateTableFromCellRange()
		{
			
			
			if (ChartPlotArea.FirstColumnHasLabels() &&
			    ChartPlotArea .FirstLineHasLabels() )
			{
				BothHasLabels();
			}
	
			else if (ChartPlotArea.FirstColumnHasLabels())
			{
				RowHeader   rowHeader = CreateRowHeader(table);
	
				table.RowHeader =rowHeader;
				
				for(int i=startRowIndex; i<endRowIndex; i++)
				{
					table.Rows .Add (m_tableData.table .Rows [i]);
				}
			}
	
			else if (this.ChartPlotArea .FirstLineHasLabels ())
			{
				FirstLineLabels();
			}
	
			else
			{
				NoLabels();
			}
	
			return table;
		}