←Select platform

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 Leadtools.Screencapture.ScreenCaptureResourceType _ 
) As Integer 
public: 
int GetResourcesCount(  
   String^ fileName, 
   Leadtools.Screencapture.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ScreenCapture Assembly