Gdk
Pixbuf
LoadFromResource
Gdk.Pixbuf.LoadFromResource Method
Loads a pixbuf from a resource file.
Syntax
public static
Pixbuf
LoadFromResource
(
string
resource)
Parameters
resource
the name of the resource
Returns
a
Gdk.Pixbuf
Remarks
This loads a pixbuf from a resource in the calling assembly. This is equivalent to using the
Pixbuf(System.Reflection.Assembly, System.String)
constructor with a
null
assembly.
Requirements
Namespace:
Gdk
Assembly:
gdk-sharp (in gdk-sharp.dll)