Exception:参数无效。

报错信息

   在 System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
   在 SnipInsight.ImageCapture.ScreenCapture.CropImage(Bitmap bmpImage, Rectangle r)
   在 SnipInsight.ImageCapture.ScreenCapture.CaptureBitmapFromImage(Bitmap bmpImage, Rectangle r, DpiScale dpiScale)
   在 SnipInsight.ImageCapture.ScreenshotImage.GetCaptureBitmap(RECT rect, DpiScale dpiScaleOfSourceWindow)
   在 SnipInsight.ImageCapture.ImageCaptureWindow.GetCapturedBitmap()
   在 SnipInsight.ImageCapture.ImageCaptureWindow.CapturingDone(Object sender, ExecutedRoutedEventArgs e)
   在 SnipInsight.ImageCapture.ImageCaptureWindow.OnPreviewKeyDown(Object sender, KeyEventArgs 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.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   在 System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
   在 System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
   在 System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
   在 System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
   在 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) 

解决方法



相关信息
1 查看
2024-02-27 16:12
Quicker版本
版本 反馈次数