GetResourcesCount Method

Summary

Counts the number of resources of the specified type in the given executable file.

Syntax
C#
VB
C++
public int GetResourcesCount( 
   string fileName, 
   ScreenCaptureResourceType resourceType 
) 
  
Public Function GetResourcesCount( _ 
   ByVal fileName As String, _ 
   ByVal resourceType As ScreenCaptureResourceType _ 
) As Integer 
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

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