C# Класс MovieHue.ScreenCapture

Provides functions to capture the entire screen, or a particular window, and save it to a file.
Показать файл Открыть проект

Открытые методы

Метод Описание
CaptureScreen ( ) : Image
CaptureScreen ( Section section ) : Image

Creates an Image object containing a screen shot of the entire desktop

CaptureScreenToFile ( string filename, ImageFormat format ) : void

Captures a screen shot of the entire desktop, and saves it to a file

CaptureWindow ( IntPtr handle, Section section ) : Image

Creates an Image object containing a screen shot of a specific window

CaptureWindowToFile ( IntPtr handle, string filename, ImageFormat format ) : void

Captures a screen shot of a specific window, and saves it to a file

ScreenCapture ( ) : System

Описание методов

CaptureScreen() публичный Метод

public CaptureScreen ( ) : Image
Результат Image

CaptureScreen() публичный Метод

Creates an Image object containing a screen shot of the entire desktop
public CaptureScreen ( Section section ) : Image
section Section
Результат Image

CaptureScreenToFile() публичный Метод

Captures a screen shot of the entire desktop, and saves it to a file
public CaptureScreenToFile ( string filename, ImageFormat format ) : void
filename string
format System.Drawing.Imaging.ImageFormat
Результат void

CaptureWindow() публичный Метод

Creates an Image object containing a screen shot of a specific window
public CaptureWindow ( IntPtr handle, Section section ) : Image
handle System.IntPtr The handle to the window. (In windows forms, this is obtained by the Handle property)
section Section
Результат Image

CaptureWindowToFile() публичный Метод

Captures a screen shot of a specific window, and saves it to a file
public CaptureWindowToFile ( IntPtr handle, string filename, ImageFormat format ) : void
handle System.IntPtr
filename string
format System.Drawing.Imaging.ImageFormat
Результат void

ScreenCapture() публичный Метод

public ScreenCapture ( ) : System
Результат System