Click or drag to resize

IconUtilitiesLoadBestIcon Method

Loads the best icon from a file path.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static Bitmap LoadBestIcon(
	string iconFilePath,
	int? indexOrResourceId = null,
	int? preferredSize = null
)

Parameters

iconFilePath
Type: SystemString
The input file path.
indexOrResourceId (Optional)
Type: SystemNullableInt32
An optional index or resource id.
preferredSize (Optional)
Type: SystemNullableInt32
An optionalm preferred size.

Return Value

Type: Bitmap
An instance of the Bitmap class or null.
See Also