用farpoint编辑excel时,当设置有合并单元格的字体属性时,经常会出错错误信息:
在 System.Drawing.Font.GetHeight(Graphics graphics)
在 System.Drawing.Font.GetHeight()
在 System.Drawing.Font.get_Height()
在 FarPoint.Win.Text.TextHelper.a(Graphics A_0, String A_1, Font A_2, RectangleF A_3, TextOrientation A_4, Boolean A_5, Boolean A_6, HotkeyPrefix A_7, StringTrimming A_8, Int32 A_9)
在 FarPoint.Win.Text.TextHelper.Measure(Graphics g, String s, Font font, Color foreColor, RectangleF rectangle, HorizontalAlignment halign, VerticalAlignment valign, TextOrientation textOrientation, Boolean wordWrap, Boolean multiline, HotkeyPrefix hotkeyPrefix, StringTrimming stringTrim, Int32 drawRectHeight, Boolean adjust, Double rotationAngle, Int32 textIndent)
在 FarPoint.Win.ElementWindowless.GetRotatedTextSize(Graphics g, String s, Font font, RectangleF r, TextOrientation textOrientation, Boolean wordWrap, HotkeyPrefix hotkeyPrefix, StringTrimming stringTrim, Double angle)
在 FarPoint.Win.Spread.CellType.EditBaseCellType.GetPreferredSize(Graphics g, Size size, Appearance appearance, Object value, Single zoomFactor)
在 FarPoint.Win.Spread.SpreadView.a(SheetView A_0, ar A_1, Int32 A_2, Int32 A_3, String A_4, ISheetSpanModel A_5, Int32 A_6, Font A_7, Graphics A_8, o3 A_9, Boolean A_10)
在 FarPoint.Win.Spread.SpreadView.a(SheetView A_0, ar A_1, Int32 A_2, Int32 A_3, Int32 A_4, Int32 A_5, ISheetSpanModel A_6, Int32 A_7, Int32 A_8, Boolean A_9, ay[,]& A_10, ef[]& A_11, cc[]& A_12, Int32 A_13, Font A_14, Graphics A_15, pd A_16, Boolean A_17)
在 FarPoint.Win.Spread.SpreadView.a(SheetView A_0, ar A_1, Int32 A_2, Int32 A_3, Int32 A_4, Int32 A_5, ISheetSpanModel A_6, Int32 A_7, Int32 A_8, Boolean A_9, ay[,]& A_10, ef[]& A_11, cc[]& A_12, Int32 A_13, Font A_14, pd A_15)
在 FarPoint.Win.Spread.SpreadView.ae(Int32 A_0, Int32 A_1)
在 FarPoint.Win.Spread.SpreadView.ad(Int32 A_0, Int32 A_1)
在 FarPoint.Win.Spread.SpreadView.a(Int32 A_0, Int32 A_1, Int32 A_2, Int32 A_3, Boolean A_4, Boolean A_5, Int32 A_6, Int32 A_7)
在 FarPoint.Win.Spread.SpreadView.b(Object A_0, SheetStyleModelEventArgs A_1)
在 FarPoint.Win.Spread.Model.SheetStyleModelEventHandler.Invoke(Object sender, SheetStyleModelEventArgs e)
在 FarPoint.Win.Spread.Model.BaseSheetStyleModel.OnChanged(SheetStyleModelEventArgs e)
在 FarPoint.Win.Spread.Model.BaseSheetStyleModel.FireChanged(Int32 row, Int32 column, Int32 rowCount, Int32 columnCount, SheetStyleModelEventType type)
在 FarPoint.Win.Spread.Model.DefaultSheetStyleModel.SetDirectInfo(Int32 row, Int32 column, StyleInfo info)
在 FarPoint.Win.Spread.Cell.a()
在 FarPoint.Win.Spread.Cell.set_Font(Font value)
在 SpreadDesigner.SpreadDesigner.ChangeFont(String fontName, Single size, FontStyle style, Boolean toogled, Boolean isToogle) 位置 C:\Program Files (x86)\GrapeCity\Spread Studio 9\Windows Forms\v9.20.20153.0\Samples\Cs\SpreadDesigner\MainForm.cs:行号 1624
在 SpreadDesigner.SpreadDesigner.ComboBoxFont_SelectedIndexChanged(Object sender, EventArgs e) 位置 C:\Program Files (x86)\GrapeCity\Spread Studio 9\Windows Forms\v9.20.20153.0\Samples\Cs\SpreadDesigner\MainForm.cs:行号 1564
在 C1.Win.C1Ribbon.RibbonComboBox.OnSelectedIndexChanged(EventArgs e)
在 C1.Win.C1Ribbon.RibbonComboBox.c()
在 C1.Win.C1Ribbon.cc.b(ct A_0, Boolean A_1)
在 C1.Win.C1Ribbon.cc.a(aa A_0)
在 C1.Win.C1Ribbon.c1.e(aa A_0)
在 C1.Win.C1Ribbon.c1.a(aa A_0, Boolean A_1, c1 A_2)
在 C1.Win.C1Ribbon.c1.a(aa A_0, Boolean A_1, Boolean A_2)
在 C1.Win.C1Ribbon.c1.d(aa A_0)
在 C1.Win.C1Ribbon.bd.a(Object A_0, EventArgs A_1)
在 C1.Win.C1Ribbon.dd.ao()
在 C1.Win.C1Ribbon.ct.ao()
在 C1.Win.C1Ribbon.ct.a.b()
在 C1.Win.C1Ribbon.ct.a.a(MouseEventArgs A_0)
在 C1.Framework.XView.OnMouseUp(MouseEventArgs e)
在 C1.Win.C1Ribbon.c1.a.c(MouseEventArgs A_0)
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 C1.Framework.ScrollableControl.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
在 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
在 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
在 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
在 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
在 System.Windows.Forms.Application.Run(Form mainForm)
在 SpreadDesigner.Program.Main() 位置 C:\Program Files (x86)\GrapeCity\Spread Studio 9\Windows Forms\v9.20.20153.0\Samples\Cs\SpreadDesigner\Program.cs:行号 17
在 System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
在 System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
在 Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
在 System.Threading.ThreadHelper.ThreadStart_Context(Object state)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Threading.ThreadHelper.ThreadStart() |
|