#1
Posted
:
Friday, June 10, 2016 8:05:25 AM(UTC)
Groups: Registered
Posts: 5
I am trying to capture my screen as a picture and when I do, it does not capture the full height.
I try:
protected void btnCaptures_Click(object sender, EventArgs e)
{
Bitmap bitmap = new Bitmap
(System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width, System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height);
Graphics graphics = Graphics.FromImage(bitmap as System.Drawing.Image);
graphics.CopyFromScreen(0, 0, 0, 0, bitmap.Size);
bitmap.Save(Server.MapPath(@"Screen\ScreenShot2.Bmp"), ImageFormat.Bmp);
}
I have tried the above many times without success. How can I capture my entire screen???
#2
Posted
:
Tuesday, June 14, 2016 11:55:43 AM(UTC)
Groups: Registered
Posts: 119
Was thanked: 4 time(s) in 4 post(s)
If you have downloaded our 60 day evaluation you will find sample code relating to capturing a full screen image at:
C:\LEADTOOLS 19\Examples\DotNet\CS\ScreenCaptureDemo
If you have any more questions, you may reply back in this forum or you can contact us at
support@leadtools.comNick Villalobos attached the following image(s):
Nick Villalobos
Developer Support Engineer
LEAD Technologies, Inc.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.