18 lines
522 B
VB.net
18 lines
522 B
VB.net
Imports System.Drawing
|
|
|
|
Namespace Mapped
|
|
|
|
Public Class IconExtractor
|
|
|
|
Public Shared Function ExtractIconFromFilePath(filePath As String, size As SystemIconSize) As Icon
|
|
Return Internals.IconExtractor.ExtractIcon(filePath, size)
|
|
End Function
|
|
|
|
Public Shared Function ExtractIconFromFileExtension(fileExtension As String, size As SystemIconSize)
|
|
Return Internals.IconFactory.IconFromExtensionShell(fileExtension, size)
|
|
End Function
|
|
|
|
End Class
|
|
|
|
End Namespace
|