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

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

Gets the draw text box as HTML.
public GetDrawTextBoxAsHtml ( DrawTextBox drawTextBox ) : string
drawTextBox AODL.Document.Content.Draw.DrawTextBox The draw text box.
Результат string
		public string GetDrawTextBoxAsHtml(DrawTextBox drawTextBox)
		{
			string html					= "";

			try
			{
				if (drawTextBox != null)
				{
					if (drawTextBox.Content != null)
					{
						html			+= this.GetIContentCollectionAsHtml(drawTextBox.Content);
					}
				}

				html					+= "\n";
			}
			catch(Exception ex)
			{
				throw new AODLException("Exception while trying to build a HTML string from a ImageMap object.", ex);
			}

			return html;
		}