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

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

Gets the unknow text content as HTML. Maybe it's a bibliographic index or something else. The method will try to find text that could be displayed.
public GetUnknowTextContentAsHtml ( UnknownTextContent unknownTextContent ) : string
unknownTextContent AODL.Document.Content.Text.UnknownTextContent Content of the unknown text.
Результат string
		public string GetUnknowTextContentAsHtml(UnknownTextContent unknownTextContent)
		{
			string html					= "";

			try
			{
				if (unknownTextContent != null)
				{
					if (unknownTextContent.Node != null)
						html			+= this.ReplaceControlNodes(unknownTextContent.Node.InnerText);
				}
			}
			catch(Exception ex)
			{
				throw new AODLException("Error rendering unknown text content as html", ex);
			}

			return html;
		}