ShowCaptureFromExeDialog Method

Summary

Displays a dialog, and captures an image of a resource stored in an exe or dll.

Syntax
C#
VB
C++
  
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 

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

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ScreenCapture Assembly