ShellUtilitiesGetImageForExtension Method |
Gets a bitmap that represents an extension.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static Bitmap GetImageForExtension(
string extension,
Size size,
SIIGBF flags = SIIGBF.SIIGBF_RESIZETOFIT,
bool throwOnError = true
)
Parameters
- extension
- Type: SystemString
The extension. - size
- Type: System.DrawingSize
The size of the image to be received. - flags (Optional)
- Type: ShellBoost.Core.WindowsShellSIIGBF
Options that specify how the image will be extracted. - throwOnError (Optional)
- Type: SystemBoolean
if set to true errors may be throw in case of Windows Shell errors.
Return Value
Type:
Bitmap
A bitmap or null.
See Also