Posted 18 years ago
by Actipro User
Hello: Several users of my application have reported the following exception. Is this a known issue? How soon will the fix be available?
Thanks!
System.ArgumentException: Rectangle '{X=-87.01,Y=-45.01,Width=152,Height=0}' cannot have a width or height equal to 0.
at System.Drawing.Drawing2D.LinearGradientBrush..ctor(RectangleF rect, Color color1, Color color2, Single angle, Boolean isAngleScaleable)
at System.Drawing.Drawing2D.LinearGradientBrush..ctor(RectangleF rect, Color color1, Color color2, Single angle)
at ActiproSoftware.Drawing.TwoColorLinearGradient.Draw(Graphics g, Rectangle bounds, Rectangle gradientBounds, Color startColor, Color endColor, Single angle, TwoColorLinearGradientStyle style, Single focus, Single scale)
at ActiproSoftware.Drawing.TwoColorLinearGradient.Draw(Graphics g, Rectangle bounds, Rectangle gradientBounds, Sides side)
at ActiproSoftware.UIStudio.Dock.VisualStudio2002DockRenderer.DrawDockObjectSplitter(PaintEventArgs e, Rectangle bounds, IDockObject dockObject, Orientation orientation)
at fv.a(PaintEventArgs A_0)
at ActiproSoftware.WinUICore.UIElement.Render(PaintEventArgs e)
at ActiproSoftware.WinUICore.UIControl.OnRenderChildElements(PaintEventArgs e)
at ActiproSoftware.WinUICore.UIControl.Render(PaintEventArgs e)
at ActiproSoftware.WinUICore.UIControl.a(PaintEventArgs A_0)
at ActiproSoftware.WinUICore.UIControl.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.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)
Thanks!
System.ArgumentException: Rectangle '{X=-87.01,Y=-45.01,Width=152,Height=0}' cannot have a width or height equal to 0.
at System.Drawing.Drawing2D.LinearGradientBrush..ctor(RectangleF rect, Color color1, Color color2, Single angle, Boolean isAngleScaleable)
at System.Drawing.Drawing2D.LinearGradientBrush..ctor(RectangleF rect, Color color1, Color color2, Single angle)
at ActiproSoftware.Drawing.TwoColorLinearGradient.Draw(Graphics g, Rectangle bounds, Rectangle gradientBounds, Color startColor, Color endColor, Single angle, TwoColorLinearGradientStyle style, Single focus, Single scale)
at ActiproSoftware.Drawing.TwoColorLinearGradient.Draw(Graphics g, Rectangle bounds, Rectangle gradientBounds, Sides side)
at ActiproSoftware.UIStudio.Dock.VisualStudio2002DockRenderer.DrawDockObjectSplitter(PaintEventArgs e, Rectangle bounds, IDockObject dockObject, Orientation orientation)
at fv.a(PaintEventArgs A_0)
at ActiproSoftware.WinUICore.UIElement.Render(PaintEventArgs e)
at ActiproSoftware.WinUICore.UIControl.OnRenderChildElements(PaintEventArgs e)
at ActiproSoftware.WinUICore.UIControl.Render(PaintEventArgs e)
at ActiproSoftware.WinUICore.UIControl.a(PaintEventArgs A_0)
at ActiproSoftware.WinUICore.UIControl.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.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)