Click here to Skip to main content
Licence CPOL
First Posted 2 Jun 2006
Views 28,377
Downloads 920
Bookmarked 29 times

ScreenCapture Utility

By | 2 Jun 2006 | Article
A utility to capture a portion of the screen
Sample Image - ScreenCapture.jpg

Introduction

I needed a screen capture utility and was tired of the 30 day evaluation versions of commercial products, so I decided to develop one. This article presents the result.

I have used pure C# code, no unmanaged code at all.

My Requirements

  1. To enable capture of a selectable rectangle on the screen
  2. To support all major image formats
  3. Need to be simple and intuitive

Usage

  1. Run the application.
  2. Press the capture button. Now ScreenCapture will disappear and you will get a dimmed image of the screen.
  3. Move the cursor to the top left corner of the screen area you want to capture and press the left mouse button.
  4. Move the curser to the right bottom corner of the screen area you need to capture and release the left mouse button. During this operation, a selection area will be seen.
  5. Now the captured area is displayed in the ScreenCapture.
  6. You can save it to file by pressing the Save button.
  7. You can change the way the image is displayed by selecting a different mode in the toolbar ComboBox.

Conclusion

The screen capturing utility was easy to write!

History

  • 2nd June, 2006: Initial post

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Yoramo

Architect

Israel Israel

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
Generalnice job Pinmemberspiralarchitect11:27 19 Oct '07  
GeneralManual Drawing PinmemberMatrixCoder9:52 7 Jan '07  
GeneralRe: Manual Drawing PinmemberYoramo21:38 15 Jan '07  
GeneralExports JPGs only PinmemberWilBu11:46 6 Jun '06  
GeneralRe: Exports JPGs only PinmemberYoramo3:55 7 Jun '06  
GeneralI love it [modified] Pinmemberinetfly1237:26 2 Jun '06  
GeneralRe: I love it [modified] PinmemberYoramo9:47 2 Jun '06  
GeneralRe: I love it [modified] Pinmemberinetfly12310:02 2 Jun '06  
GeneralRe: I love it [modified] PinmemberYoramo11:38 2 Jun '06  
QuestionI'm spoiled PinmemberBen Ratzlaff7:09 2 Jun '06  
AnswerRe: I'm spoiled PinmemberYoramo7:01 3 Jun '06  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web01 | 2.5.120517.1 | Last Updated 2 Jun 2006
Article Copyright 2006 by Yoramo
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid