C# Class ScreenShotter.Program

Afficher le fichier Open project: testingbot/Selenium-Screenshots

Méthodes publiques

Méthode Description
ResizeImage ( Bitmap image, int width, int height ) : Bitmap

Private Methods

Méthode Description
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

Method Details

ResizeImage() public static méthode

public static ResizeImage ( Bitmap image, int width, int height ) : Bitmap
image Bitmap
width int
height int
Résultat System.Drawing.Bitmap