Captures an image of a resource stored in an exe or dll.
fileName
A string containing the name of the exe (or dll) from which the resource will be captured.
resourceType
Type of resource to be captured. For possible values refer to ScreenCaptureResourceType.
resourceId
Specifies the index of the resource being captured.
captureByIndex
If true, then the resourceId is the index position of the requested resource. Otherwise, resourceId is the resource id of the requested resource.
backgroundColor
Background color to be used for icons.
A Leadtools.RasterImage that represents the captured image.
For an example, refer to ScreenCaptureEngine.