Leadtools.ScreenCapture Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
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.
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
)
Managed Extensions for 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