C# Class ROS_ImageWPF.WindowScraper.PInvoke

Afficher le fichier Open project: uml-robotics/ROS.NET

Méthodes publiques

Méthode Description
CaptureWindow ( IntPtr hwnd, int winx, int winy, Stream str, ImageFormat imageFormat ) : void

Private Methods

Méthode Description
Cleanup ( int hBitmap, int hdcSrc, int hdcDest ) : void
SaveImageAs ( int hBitmap, Stream str, ImageFormat imageFormat ) : void

Method Details

CaptureWindow() public static méthode

public static CaptureWindow ( IntPtr hwnd, int winx, int winy, Stream str, ImageFormat imageFormat ) : void
hwnd System.IntPtr
winx int
winy int
str Stream
imageFormat System.Drawing.Imaging.ImageFormat
Résultat void