AODL.Utils.ContentMocker.GetColumnCount C# (CSharp) Method

GetColumnCount() private method

private GetColumnCount ( Table table ) : int
table AODL.Document.Content.Tables.Table
return int
		private int GetColumnCount(Table table)
		{
			int columnCount = 0;
			foreach (Row row in table.Rows)
			{
				if (row.Cells.Count > columnCount)
					columnCount = row.Cells.Count;
			}
			return columnCount;
		}