SEHException: 外部组件发生异常。 StackTrace: 在 MS.Win32.PresentationCore.UnsafeNativeMethods.MilCoreApi.MilUtility_PathGeometryBounds(MIL_PEN_DATA* pPenData, Double* pDashArray, MilMatrix3x2D* pWorldMatrix, FillRule fillRule, Byte* pPathData, UInt32 nSize, MilMatrix3x2D* pGeometryMatrix, Double rTolerance, Boolean fRelative, Boolean fSkipHollows, MilRectD* pBounds) 在 System.Windows.Media.PathGeometry.GetPathBoundsAsRB(PathGeometryData pathData, Pen pen, Matrix worldMatrix, Double tolerance, ToleranceType type, Boolean skipHollows) 在 System.Windows.Media.Geometry.GetBoundsInternal(Pen pen, Matrix matrix, Double tolerance, ToleranceType type) 在 System.Windows.Media.BoundsDrawingContextWalker.DrawGeometry(Brush brush, Pen pen, Geometry geometry) 在 System.Windows.Media.RenderData.DrawingContextWalk(DrawingContextWalker ctx) 在 System.Windows.Media.RenderData.GetContentBounds(BoundsDrawingContextWalker ctx) 在 System.Windows.UIElement.GetHitTestBounds() 在 System.Windows.Media.Visual.PrecomputeContent() 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.Precompute() 在 System.Windows.Media.CompositionTarget.System.Windows.Media.ICompositionTarget.Render(Boolean inResize, Channel channel) 在 System.Windows.Media.MediaContext.Render(ICompositionTarget resizedCompositionTarget) 在 System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) 在 System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) 在 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)