ImageHelperGetImageFromFile 方法 |
根据路径获取ImageSource
命名空间:
System.Windows.Media.Imaging
程序集:
GISShare.SMap.WPF (在 GISShare.SMap.WPF.dll 中) 版本:1.9.1.6 (1.9.1.6)
语法public static ImageSource GetImageFromFile(
string strFileName
)
Public Shared Function GetImageFromFile (
strFileName As String
) As ImageSource
public:
static ImageSource^ GetImageFromFile(
String^ strFileName
)
static member GetImageFromFile :
strFileName : string -> ImageSource
参数
- strFileName
- 类型: SystemString
URL
返回值
类型:
ImageSourceImageSource
参见