AODL.Document.Content.Text.Indexes.TableOfContents.GetHtml C# (CSharp) Method

GetHtml() public method

Return the content as Html string
public GetHtml ( ) : string
return string
		public string GetHtml()
		{
			string html					= "<br>&nbsp;\n";
			try
			{
				foreach(IContent content in this.Content)
					if (content is IHtml)
					html				+= ((IHtml)content).GetHtml()+"\n";
			}
			catch(Exception)
			{
			}
			return html;
		}