NativeExcel for .Net Developer's Reference

IShapes.AddPictureMethod(Bitmap)

Creates a picture from the specified existing Bitmap object. Returns a IPicture interface that represents the new picture.

[Visual Basic]
FunctionAddPicture(_
ByValbitmapAsBitmap_
)AsIPicture
[C#]
IPictureAddPicture(
Bitmapbitmap
);
[C++]
IPicture*AddPicture(
Bitmap*bitmap
);
[JScript]
functionAddPicture(
Bitmapbitmap
):IPicture;

Parameters

bitmap
The Bitmap object used to create the picture.

Return Value

Returns IPicture interface if it succeeded, null otherwise.

See Also

IShapes Interface | NativeExcel Namespace | IShapes.AddPicture Overload List