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

GetHtml() public method

Return the content as Html string
public GetHtml ( ) : string
return string
		public string GetHtml()
		{
			string html		= "<a href=\"";

			if (this.Href != null)
				//html	+= this.Href+"\"";
				html	+= this.GetLink()+"\"";

			if (this.TargetFrameName != null)
				html	+= " target=\""+this.TargetFrameName+"\"";

			if (this.Href != null)
			{
				html	+= ">\n";
				html	+= this.Text;
				html	+= "</a>";
			}
			else
				html	= "";
				
			return html;
		}