Visual Basic (Declaration) | |
---|---|
Public Shared Function GetImageFromPath( _ ByVal filePath As String _ ) As BitmapImage |
Visual Basic (Usage) | ![]() |
---|---|
Dim filePath As String Dim value As BitmapImage value = PathToImageSourceConverter.GetImageFromPath(filePath) |
C# | |
---|---|
public static BitmapImage GetImageFromPath( string filePath ) |
C++/CLI | |
---|---|
public: static BitmapImage^ GetImageFromPath( String^ filePath ) |
Parameters
- filePath
Gets the System.Windows.Media.ImageSource from the raw without using the PathFilter.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family