NativeExcel2 for .Net Developer's Reference

IShapes.AddPictureMethod(Stream)

Creates a picture from the specified data stream.. Returns a IPicture interface that represents the new picture.

[Visual Basic]
FunctionAddPicture(_
ByValstreamAsStream_
)AsIPicture
[C#]
IPictureAddPicture(
Streamstream
);
[C++]
IPicture*AddPicture(
Stream*stream
);
[JScript]
functionAddPicture(
Streamstream
):IPicture;

Parameters

stream
The data stream used to load the picture.

Return Value

Returns IPicture interface if it succeeded, null otherwise.

See Also

IShapes Interface | NativeExcel Namespace | IShapes.AddPicture Overload List