- 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.
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.
For an example, refer to ScreenCaptureEngine.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Reference
ScreenCaptureEngine ClassScreenCaptureEngine 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