AODL.Document.Styles.Properties.TableProperties.GetHtmlStyle C# (CSharp) Method

GetHtmlStyle() public method

Get the css style fragement
public GetHtmlStyle ( ) : string
return string
		public string GetHtmlStyle()
		{
			string style		= "style=\"";

			if (this.Width != null)
				style	+= "width: "+this.Width.Replace(",", ".")+"; ";

			if (!style.EndsWith("; "))
				style	= "";
			else
				style	+= "\"";

			//style		+= " border=\"1\"";

			return style;
		}