- fileName
- A string containing the name of the exe (or dll) from which the resource will be captured.
- transparentColor
- A color to be used in place of the transparent color of an Icon or Cursor.
- resourceType
- Type of resource to be captured. For possible values refer to ScreenCaptureResourceType.
- dialogType
- Type of dialog to be displayed. For possible values refer to ScreenCaptureFromExeDialogType.
- flags
- Flags that determine the options dialog. For possible values refer to ScreenCaptureDialogFlags.
- captureInformation
- A ScreenCaptureInformation class object to be filled with information regarding the source for the captured image. Pass NULL if you are not interested in extra information about the capture.
- helpCallback
- A delegate method that will handle the event.
Visual Basic (Declaration) | |
---|---|
Public Function ShowCaptureFromExeDialog( _ ByVal fileName As String, _ ByVal transparentColor As Color, _ ByVal resourceType As ScreenCaptureResourceType, _ ByVal dialogType As ScreenCaptureFromExeDialogType, _ ByVal flags As ScreenCaptureDialogFlags, _ ByVal captureInformation As ScreenCaptureInformation, _ ByVal helpCallback As ScreenCaptureHelpCallback _ ) As RasterImage |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public RasterImage ShowCaptureFromExeDialog( string fileName, Color transparentColor, ScreenCaptureResourceType resourceType, ScreenCaptureFromExeDialogType dialogType, ScreenCaptureDialogFlags flags, ScreenCaptureInformation captureInformation, ScreenCaptureHelpCallback helpCallback ) |
C++/CLI | |
---|---|
public: RasterImage ShowCaptureFromExeDialog( String^ fileName, Color transparentColor, ScreenCaptureResourceType resourceType, ScreenCaptureFromExeDialogType dialogType, ScreenCaptureDialogFlags flags, ScreenCaptureInformation^ captureInformation, ScreenCaptureHelpCallback^ helpCallback ) |
Parameters
- fileName
- A string containing the name of the exe (or dll) from which the resource will be captured.
- transparentColor
- A color to be used in place of the transparent color of an Icon or Cursor.
- resourceType
- Type of resource to be captured. For possible values refer to ScreenCaptureResourceType.
- dialogType
- Type of dialog to be displayed. For possible values refer to ScreenCaptureFromExeDialogType.
- flags
- Flags that determine the options dialog. For possible values refer to ScreenCaptureDialogFlags.
- captureInformation
- A ScreenCaptureInformation class object to be filled with information regarding the source for the captured image. Pass NULL if you are not interested in extra information about the capture.
- helpCallback
- A delegate method that will handle the event.
Return Value
A RasterImage that represents the captured image.For an example, refer to ScreenCaptureEngine.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Reference
ScreenCaptureEngine ClassScreenCaptureEngine Members
Implementing Screen Capture
Startup Method
Shutdown Method
CaptureWindow Method
CaptureActiveWindow Method
CaptureActiveClient Method
CaptureWallpaper Method
CaptureFullScreen Method
CaptureMenuUnderCursor Method
CaptureWindowUnderCursor Method
CaptureSelectedObject Method
CaptureArea Method
CaptureMouseCursor Method
CaptureFromExe Method
GetResourcesCount Method
IsCaptureActive Property
StopCapture Method