AODL.Document.Styles.FontFamilies.PtToPx C# (CSharp) Method

PtToPx() public static method

Pts to px.
public static PtToPx ( string point ) : string
point string The point.
return string
		public static string PtToPx(string point)
		{
			try
			{
				int size	= Convert.ToInt32(point.Replace("pt",""));
				if (size < 12)
					size++;
				return size.ToString()+"pt";
			}
			catch(Exception)
			{
				//unhandled
			}
			return point;
		}
FontFamilies