LEADTOOLS Screen Capture (Leadtools.ScreenCapture assembly)
LEAD Technologies, Inc

GetResourcesCount Method






A string containing the name of the exe (or dll) from which the resources will be counted.
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
public int GetResourcesCount( 
   string fileName,
   ScreenCaptureResourceType resourceType
)
'Declaration
 
Public Function GetResourcesCount( _
   ByVal fileName As String, _
   ByVal resourceType As ScreenCaptureResourceType _
) As Integer
'Usage
 
Dim instance As ScreenCaptureEngine
Dim fileName As String
Dim resourceType As ScreenCaptureResourceType
Dim value As Integer
 
value = instance.GetResourcesCount(fileName, resourceType)
public int GetResourcesCount( 
   string fileName,
   ScreenCaptureResourceType resourceType
)
 function Leadtools.ScreenCapture.ScreenCaptureEngine.GetResourcesCount( 
   fileName ,
   resourceType 
)
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ScreenCaptureEngine Class
ScreenCaptureEngine Members
Implementing Screen Capture
Startup Method
Shutdown Method
CaptureWindow Method
CaptureActiveWindow Method
CaptureActiveClient Method
CaptureWallpaper Method
CaptureFullScreen Method
CaptureMenuUnderCursor Method
CaptureWindowUnderCursor Method
CaptureSelectedObject Method
CaptureArea Method
CaptureMouseCursor Method
CaptureFromExe Method
ShowCaptureFromExeDialog Method
IsCaptureActive Property
StopCapture Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.