Image.loadImage

Overview | Methods | This Package | All Packages

Image.loadImage

Loads an image from a stream.

Syntax

public static Image loadImage( IDataStream stream )

public static Image loadImage( IStream stream )

Parameters

stream

An IDataStream or com.ms.wfc.ole32.IStream object from which to load the image.

Return Value

Returns an Image object for the loaded image. This object represents a bitmap, icon, cursor, or metafile, depending on the type of data stored in the stream.