Hello,
I have report, which is not problem to show in Designer, but if we put it into StiWpfViewerControl, dispatcher catch this exception....
System.ArgumentException: Width must be non-negative.
at System.Windows.Rect.set_Width(Double value)
at Stimulsoft.Report.Painters.StiTextWpfPainter.Paint(StiComponent component, StiPaintEventArgs e)
at Stimulsoft.Report.Components.StiComponent.Paint(StiPaintEventArgs e)
at Stimulsoft.Report.Painters.StiContainerWpfPainter.PaintComponents(StiContainer container, StiPaintEventArgs e)
at Stimulsoft.Report.Painters.StiPageWpfPainter.Paint(StiComponent comp, StiPaintEventArgs e)
at Stimulsoft.Report.Components.StiComponent.Paint(StiPaintEventArgs e)
at Stimulsoft.Report.Viewer.StiWpfViewerControl.RenderPageContent(StiPageVisual pageVisual)
at Stimulsoft.Report.Viewer.StiWpfViewerControl.UpdatePagesPlacement(Boolean allowAnimation, Double baseOpacity)
at Stimulsoft.Report.Viewer.StiWpfViewerControl.UpdatePagesPlacement(Double baseOpacity)
at Stimulsoft.Report.Viewer.StiWpfViewerControl.UpdatePagesPlacement()
at Stimulsoft.Report.Viewer.StiWpfViewerControl.c__DisplayClass1d.b__1c(Object , EventArgs )
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Width must be non-negative... exception
Width must be non-negative... exception
Hello,
Please send us your report with sample data for analysis.
Thank you.
Please send us your report with sample data for analysis.
Thank you.
Width must be non-negative... exception
Hello,
I can not send you the report (non compiled), because it is very complex and needs a lot of our libraries... so only compiled is attached. But I thing, you do not need it... look on exception... in painting visual objects you have no checking if the size is negative.
Thank you for solution...
I can not send you the report (non compiled), because it is very complex and needs a lot of our libraries... so only compiled is attached. But I thing, you do not need it... look on exception... in painting visual objects you have no checking if the size is negative.
Thank you for solution...
- Attachments
-
- 1193.negativeWidthReport.mdc
- (82.89 KiB) Downloaded 330 times
Width must be non-negative... exception
Hello,
We couldn't reproduce this bug.
But we made some improvements in that direction about a week ago.
Please check the latest prerelease build and let us know about the result.
Thank you.
We couldn't reproduce this bug.
But we made some improvements in that direction about a week ago.
Please check the latest prerelease build and let us know about the result.
Thank you.
Width must be non-negative... exception
Thank you Ivan, it is correct now 

Width must be non-negative... exception
Hello,
Ok!
Have a greta weekend!
Ok!
Have a greta weekend!