Leadtools.ScreenCapture Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also