Sfoglia il codice sorgente

zhao:优化

tags/录制修改前
耀 4 anni fa
parent
commit
2055e6667e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      XHWK.WKTool/XHMicroLessonSystemWindow.xaml.cs

+ 1
- 1
XHWK.WKTool/XHMicroLessonSystemWindow.xaml.cs Vedi File

@@ -3165,7 +3165,7 @@ namespace XHWK.WKTool
3165 3165
                     {
3166 3166
                         #endregion
3167 3167
                         //保存图片
3168
-                        ImageHelper.SaveUIToImage(GridMain, FilePathName, gridActWidth, gridActHeight, RsW, RsH);
3168
+                        ImageHelper.SaveUIToImage(GridMain, FilePathName, gridActWidth, gridActHeight, (int)RsW, (int)RsH);
3169 3169
                         //ImageHelper.SaveUIToImage(GridMain, FilePathName, (int)(GridMain.ActualWidth * (PrimaryScreen.DpiX / 96f)), (int)(GridMain.ActualHeight * (PrimaryScreen.DpiY / 96f)), 0, 0);
3170 3170
                         //ImageHelper.SaveUIToImage(GridMain, FilePathName, (int)(ActualWidth * (PrimaryScreen.DpiX / 96f)), (int)(ActualHeight * (PrimaryScreen.DpiY / 96f)), (int)RsW, (int)RsH);
3171 3171
                         //ImageHelper.SaveUIToImage(GridMain, FilePathName, (int)(ActualWidth * (PrimaryScreen.DpiX / 96f)), (int)(ActualHeight * (PrimaryScreen.DpiY / 96f)), 1281, 1026);

Loading…
Annulla
Salva