C# Класс ScreenShotter.Program

Показать файл Открыть проект

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

Метод Описание
ResizeImage ( Bitmap image, int width, int height ) : Bitmap

Приватные методы

Метод Описание
EnumThreadWindows ( int threadId, EnumThreadProc pfnEnum, IntPtr lParam ) : bool
GetWindowRect ( IntPtr hWnd, System.Windows.Forms.RECT &lpRect ) : bool
GetWindowText ( IntPtr hWnd, System.StringBuilder text, int count ) : int
Main ( string args ) : void
MyEnumThreadWindowsProc ( IntPtr hWnd, IntPtr lParam ) : bool
PrintWindow ( IntPtr hwnd, IntPtr hdcBlt, uint nFlags ) : bool
getWindowHandle ( ) : void
takeShot ( ) : void

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

ResizeImage() публичный статический Метод

public static ResizeImage ( Bitmap image, int width, int height ) : Bitmap
image Bitmap
width int
height int
Результат System.Drawing.Bitmap