Accusoft.ImagXpress13.Net
CaptureWindow(IntPtr,Rectangle) Method




A value that evaluates to a Window handle.
A System.Drawing.Rectangle area in pixels within the specified window.
Captures the screen area within the specified Window and saves it to the current Image.
Syntax
'Declaration
 
Public Overloads Sub CaptureWindow( _
   ByVal hWnd As IntPtr, _
   ByVal captureRectangle As Rectangle _
) 
'Usage
 
Dim instance As ImageXView
Dim hWnd As IntPtr
Dim captureRectangle As Rectangle
 
instance.CaptureWindow(hWnd, captureRectangle)
public void CaptureWindow( 
   IntPtr hWnd,
   Rectangle captureRectangle
)
public: void CaptureWindow( 
   IntPtr hWnd,
   Rectangle captureRectangle
) 
public:
void CaptureWindow( 
   IntPtr hWnd,
   Rectangle captureRectangle
) 

Parameters

hWnd
A value that evaluates to a Window handle.
captureRectangle
A System.Drawing.Rectangle area in pixels within the specified window.
Remarks

The image data within the specified window is saved to ImageXView.Image.

See Also

Reference

ImageXView Class
ImageXView Members
Overload List

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback