Click or drag to resize

ScreenCapture Class

This class is used to capture the screen, window or a specified area of the screen or window.
Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.WinControlsScreenCapture

Namespace:  Atalasoft.Imaging.WinControls
Assembly:  Atalasoft.dotImage.WinControls (in Atalasoft.dotImage.WinControls.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public class ScreenCapture

The ScreenCapture type exposes the following members.

Constructors
  NameDescription
Public methodScreenCapture
Creates a new instance of ScreenCapture.
Public methodScreenCapture(IntPtr)
Creates a new instance of ScreenCapture specifying the window handle to capture.
Public methodScreenCapture(IntPtr, Boolean)
Creates a new instance of ScreenCapture specifying the window handle to capture and whether the entire window or only the client area is captured.
Public methodScreenCapture(IntPtr, Rectangle)
Creates a new instance ScreenCapture specifying the window handle and a rectangular area of the window to capture.
Top
Properties
  NameDescription
Public propertyArea
Gets or sets the rectangular area of the screen or window to capture.
Public propertyClientArea
Gets or sets a value indicating whether the entire window is captured or only the client area.
Public propertyHandle
Gets or sets the handle of the window to capture.
Top
Methods
  NameDescription
Public methodCode exampleCaptureScreen
Captures the desktop screen.
Public methodCaptureWindow
Captures a window from the handle provided in the Handle property.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also