ArgumentOutOfRangeException: 参数必须大于或等于零。 参数名: value --Message: 参数必须大于或等于零。 参数名: value StackTrace: 在 System.Windows.Media.FormattedText.set_MaxTextWidth(Double value) 在 __ScriptExecution.__gs0itkc9.TinyReader.MakeFormattedText(String text, Nullable`1 maxWidth) 在 __ScriptExecution.__gs0itkc9.TinyReader.UpdateBorderlessDisplay() 在 __ScriptExecution.__gs0itkc9.TinyReader.<.ctor>b__101_3(Object s, SizeChangedEventArgs e) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.FrameworkElement.OnRenderSizeChanged(SizeChangedInfo sizeInfo) 在 System.Windows.ContextLayoutManager.fireSizeChangedEvents() 在 System.Windows.ContextLayoutManager.UpdateLayout() 在 System.Windows.Interop.HwndSource.Process_WM_SIZE(UIElement rootUIElement, IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam) 在 System.Windows.Interop.HwndSource.LayoutFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)