IconUtilitiesLoadBestIcon Method |
Loads the best icon from a file path.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax 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:
BitmapAn instance of the Bitmap class or null.
See Also