System.Windows.Forms.FontExtender.ToFont C# (CSharp) Method

ToFont() public static method

public static ToFont ( this font ) : Font
font this
return System.Drawing.Font
		public static Font ToFont (this NSFont font)
		{
			if (font == null)
				return new System.Drawing.Font ("Arial", 9.9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			return new System.Drawing.Font (font.FontName, (float)font.PointSize, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			
		}
		public static NSFont ToNsFont (this Font font)