AODL.Document.Export.Html.HTMLContentBuilder.GetRowAsHtml C# (CSharp) Метод

GetRowAsHtml() публичный Метод

Gets the row as HTML.
public GetRowAsHtml ( Row row ) : string
row AODL.Document.Content.Tables.Row The row.
Результат string
		public string GetRowAsHtml(Row row)
		{
			string html					= "<tr>\n";

			try
			{
				if (row != null)
				{
					if (row.Cells != null)
					{
						foreach(Cell cell in row.Cells)
							html		+= this.GetCellAsHtml(cell);
					}
				}
			}
			catch(Exception ex)
			{
				throw new AODLException("Exception while trying to build a HTML string from a Row object.", ex);
			}

			if (!html.Equals("<tr>\n"))
				html				+= "</tr>\n";
			else
				html				= "";

			return html;
		}