LEADTOOLS Screen Capture (Leadtools.ScreenCapture assembly)

ShowCaptureFromExeDialog Method

Show in webframe





A string containing the name of the exe (or dll) from which the resource will be captured.
A color to be used in place of the transparent color of an Icon or Cursor.
Type of resource to be captured. For possible values refer to ScreenCaptureResourceType.
Type of dialog to be displayed. For possible values refer to ScreenCaptureFromExeDialogType.
Flags that determine the options dialog. For possible values refer to ScreenCaptureDialogFlags.
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.
A delegate method that will handle the event.
Displays a dialog, and captures an image of a resource stored in an exe or dll.
Syntax
'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
'Usage
 
Dim instance As ScreenCaptureEngine
Dim fileName As String
Dim transparentColor As Color
Dim resourceType As ScreenCaptureResourceType
Dim dialogType As ScreenCaptureFromExeDialogType
Dim flags As ScreenCaptureDialogFlags
Dim captureInformation As ScreenCaptureInformation
Dim helpCallback As ScreenCaptureHelpCallback
Dim value As RasterImage
 
value = instance.ShowCaptureFromExeDialog(fileName, transparentColor, resourceType, dialogType, flags, captureInformation, 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 Leadtools.RasterImage that represents the captured image.
Example
For an example, refer to ScreenCaptureEngine.
Requirements

Target Platforms

See Also

Reference

ScreenCaptureEngine Class
ScreenCaptureEngine 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

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.