Intersoft ClientUI Documentation
GetImageResource Method



Resource path.
Gets the image resource from given resource path.
Syntax
Public Shared Function GetImageResource( _
   ByVal resource As String _
) As BitmapImage
Dim resource As String
Dim value As BitmapImage
 
value = Resources.GetImageResource(resource)
public static BitmapImage GetImageResource( 
   string resource
)
public:
static BitmapImage^ GetImageResource( 
   String^ resource
) 

Parameters

resource
Resource path.

Return Value

Bitmap image.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Resources Class
Resources Members

Send Feedback