Skip to content

Commit 8136db7

Browse files
committed
Revert "使用实际屏幕尺寸截图"
This reverts commit 2a20c52.
1 parent 2f01cd5 commit 8136db7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Ink Canvas/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6728,7 +6728,7 @@ private void BtnScreenshot_Click(object sender, RoutedEventArgs e)
67286728

67296729
private void SaveScreenShot(bool isHideNotification, string fileName = null)
67306730
{
6731-
System.Drawing.Rectangle rc = System.Windows.Forms.Screen.PrimaryScreen.Bounds;
6731+
System.Drawing.Rectangle rc = System.Windows.Forms.SystemInformation.VirtualScreen;
67326732
var bitmap = new System.Drawing.Bitmap(rc.Width, rc.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb);
67336733

67346734
using (System.Drawing.Graphics memoryGrahics = System.Drawing.Graphics.FromImage(bitmap))

0 commit comments

Comments
 (0)