Gtk
Image
LoadFromResource
Gtk.Image.LoadFromResource Method
Loads an image from a resource file.
Syntax
public static
Image
LoadFromResource
(
string
resource)
Parameters
resource
the name of the resource
Returns
a
Gtk.Image
Remarks
This load an image from a resource in the calling assembly. This is equivalent to using the
Image(System.Reflection.Assembly, System.String)
constructor with a
null
assembly.
Requirements
Namespace:
Gtk
Assembly:
gtk-sharp (in gtk-sharp.dll)
Since:
Gtk# 2.4