Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Exception (Read 4375 times)
Pascal
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 9
Joined: Oct 7th, 2005
Exception
Oct 17th, 2005 at 12:45pm
Print Post  
Hi,

I got an exception. It's difficult to reproduice and it not constant.

System.ArgumentOutOfRangeException: Index was out of range.  Must be non-negative and less than the size of the collection.

Parameter name: index

   at System.Collections.ArrayList.get_Item(Int32 index)

   at MindFusion.FlowChartX.Text.Layout.Draw(Single xOff, Single yOff, RenderTextCallback renderCallback, DrawTextHint hint)

   at MindFusion.FlowChartX.Box.x5ffb8cee4881582e(Graphics x4b101060f4767186)

   at MindFusion.FlowChartX.Box.Draw(Graphics g, Boolean shadow)

   at MindFusion.FlowChartX.FlowChart.x9f757d58c3f19063(Graphics x4b101060f4767186, ChartObject xa59bff7708de3a18, Boolean x79ee3f6bdf75f984)

   at MindFusion.FlowChartX.FlowChart.xd284222047afc3d7(Graphics x4b101060f4767186, RectangleF xd0772cd9ac472b96, Boolean x979174172ae18db3)

   at MindFusion.FlowChartX.FlowChart.x525e7084c19f09ac(Bitmap xcb82cf45bd90fc15, Rectangle xd1cff1e8f8666dbe, Boolean x979174172ae18db3, Boolean x650cceda2a9df79e)

   at MindFusion.FlowChartX.FlowChart.x525e7084c19f09ac(Bitmap xcb82cf45bd90fc15, Rectangle xd1cff1e8f8666dbe, Boolean x979174172ae18db3)

   at MindFusion.FlowChartX.FlowChart.OnPaint(PaintEventArgs pe)

   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.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Thanks
Pascal.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Exception
Reply #1 - Oct 17th, 2005 at 12:48pm
Print Post  
Hi,

What's the Text of that box ?

Thanks
Stoyan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Exception
Reply #2 - Oct 17th, 2005 at 1:07pm
Print Post  
It seems you are using the "styled text" feature , right ? Could let us know what is the base font of the box, and also the TextFormat property value ?

Thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Exception
Reply #3 - Oct 17th, 2005 at 1:51pm
Print Post  
Ok, we found that happens when TextFormat.LineAlignment is set to 'Far' (e.g. bottom aligned), the PolyTextLayout property is enabled and the text cannot fit in the current box size. If you need an urgent fix for that, let us know and we'll send you a fixed flowchart.dll.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint