You may wish to set the data directly if your image is not
contained in a file (e.g. if it has come from a database). You can
use the SetData method to do this.
You usually use a sample filename to specify the type. However
in most cases the file type can be worked out even if an empty type
string is passed in.
|