ResourceHelperLoadBitmapFromResource Method |
Loads a bitmap image from an internal resource path.
Namespace:
Ptv.XServer.Controls.Map.Tools
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax public static BitmapImage LoadBitmapFromResource(
string resourcePath
)
Public Shared Function LoadBitmapFromResource (
resourcePath As String
) As BitmapImage
public:
static BitmapImage^ LoadBitmapFromResource(
String^ resourcePath
)
static member LoadBitmapFromResource :
resourcePath : string -> BitmapImage
Parameters
- resourcePath
- Type: SystemString
The path of the resource.
Return Value
Type:
BitmapImage The bitmap image.
See Also