The exception below thrown. How do we get fonts into GraphicsUnit.Point, how do we know what fonts to add?
Thanks,
Bill
.NET Version : 2.0.50727.42
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 2
Current culture : English (United States) (en-US)
Working Set Memory : 84908kb
SharpDevelop Version : 2.0.0.1710
Exception thrown:
System.ArgumentException: ActiveX controls only accept fonts that are defined in GraphicsUnit.Point.
Parameter name: font
at System.Windows.Forms.AxHost.GetIFontFromFont(Font font)
at System.Windows.Forms.AxHost.QuickActivate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Design.DesignerFrame.OnGotFocus(EventArgs e)
at System.Windows.Forms.Control.WmSetFocus(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Design.DesignerFrame.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Design.PbrsForward.System.Windows.Forms.IWindowTarget.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)