Метод | Описание | |
---|---|---|
CaptureScreen ( ) : Image |
Creates an Image object containing a screen shot of the entire desktop
|
|
CaptureScreenToFile ( string filename, |
Captures a screen shot of the entire desktop, and saves it to a file
|
|
CaptureWindow ( |
Creates an Image object containing a screen shot of a specific window
|
|
CaptureWindowToFile ( |
Captures a screen shot of a specific window, and saves it to a file
|
|
Printscreen ( bool returnStringPath = false ) : string |
Метод делает принтскрин и записывает файл в папку \screenshots. Возвращает имя файла
|
public CaptureScreenToFile ( string filename, |
||
filename | string | |
format | ||
Результат | void |
public CaptureWindow ( |
||
handle | The handle to the window. (In windows forms, this is obtained by the Handle property) | |
Результат | Image |
public CaptureWindowToFile ( |
||
handle | ||
filename | string | |
format | ||
Результат | void |
public static Printscreen ( bool returnStringPath = false ) : string | ||
returnStringPath | bool | true - вернуть имя файла в виде простой строки |
Результат | string |