CaptureEXE method (ILEADRasterScr)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short CaptureEXE (BSTR pszFileName, ScreenCaptureResourceTypes ResourceType, BSTR pszResourceID, int bIsNumberResourceID, int bCaptureByIndex);

Overview

Refer to Implementing Screen Capture.

Remarks

Captures the resource identified by pszResourceID and iResType from the specified executable file.

If the user wants to pass a string ID in pszResourceID, then set bIsNumberResourceID to FALSE and set bCaptureByIndex to FALSE.

If the user wants pass a numeric ID in pszResourceID, then set bIsNumberResourceID to TRUE and set bCaptureByIndex to FALSE.

If the user wants pass an index in pszResourceID, then set bIsNumberResourceID to TRUE and set bCaptureByIndex to TRUE.

This method does not require the use of the hot key for capture.

See Also

Elements:

CaptureEXEDlg method, Bitmap property, CaptureActiveClient method, CaptureActiveWindow method, CaptureFullScreen method, CaptureMenuUnderCursor method, CaptureWindowUnderCursor method, CaptureWallPaper, CaptureSelectedObject method, CaptureMouseCursor method, CaptureOptionDlg method, CaptureAreaOptionDlg method, CaptureObjectOptionDlg method CaptureImage event

Topics:

Screen Capture: Capturing images