Image.loadPicture

Overview | Methods | This Package | All Packages

Image.loadPicture

Loads a picture from the specified stream.

Syntax

protected static IPicture loadPicture( IStream stream )

protected static IPicture loadPicture( IStream stream, int width, int height )

Parameters

stream

The IStream object from which to load the picture.

width

The requested width of the picture.

height

The requested height of the picture.

Return Value

Returns an OLE IPicture object that represents the image.