In The Hand LtdIn The Hand
ExtractAssociatedIcon Method (filename, largeIcon)
NamespacesInTheHand.DrawingIconHelperExtractAssociatedIcon(String, Boolean)
.NET Components for Mobility
Returns an icon representation of an image contained in the specified file.
Declaration Syntax
C#Visual Basic
public static Icon ExtractAssociatedIcon(
	string filename,
	bool largeIcon
)
Public Shared Function ExtractAssociatedIcon ( _
	filename As String, _
	largeIcon As Boolean _
) As Icon
Parameters
filename (String)
The path to the file that contains an image.
largeIcon (Boolean)
Specifies whether to retrieve the large (Default) or small size icon.
Return Value
The Icon representation of the image contained in the specified file.

Assembly: InTheHand.Drawing (Module: InTheHand.Drawing) Version: 7.0.0.0