LEADTOOLS Screen Capture (Leadtools.ScreenCapture assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
GetResourcesCount Method
See Also 
Leadtools.ScreenCapture Namespace > ScreenCaptureEngine Class : GetResourcesCount Method



fileName
A string containing the name of the exe (or dll) from which the resources will be counted.
resourceType
Type of resources to be counted. For possible values refer to ScreenCaptureResourceType.
fileName
A string containing the name of the exe (or dll) from which the resources will be counted.
resourceType
Type of resources to be counted. For possible values refer to ScreenCaptureResourceType.
Counts the number of resources of the specified type in the given executable file.

Syntax

Visual Basic (Declaration) 
Public Function GetResourcesCount( _
   ByVal fileName As String, _
   ByVal resourceType As ScreenCaptureResourceType _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As ScreenCaptureEngine
Dim fileName As String
Dim resourceType As ScreenCaptureResourceType
Dim value As Integer
 
value = instance.GetResourcesCount(fileName, resourceType)
C# 
public int GetResourcesCount( 
   string fileName,
   ScreenCaptureResourceType resourceType
)
C++/CLI 
public:
int GetResourcesCount( 
   String^ fileName,
   ScreenCaptureResourceType resourceType
) 

Parameters

fileName
A string containing the name of the exe (or dll) from which the resources will be counted.
resourceType
Type of resources to be counted. For possible values refer to ScreenCaptureResourceType.

Example

For an example, refer to ScreenCaptureEngine.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also