NativeExcel2 for .Net Developer's Reference

IShapes.AddPictureMethod

Creates a picture from the specified file, stream or Bitmap object. Returns a IPicture interface that represents the new picture.

Overload List

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

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

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

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

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

[Visual Basic] FunctionAddPicture(ByValString)AsIPicture
[C#] IPictureAddPicture(string);
[C++] IPicture*AddPicture(String*);
[JScript] functionAddPicture(String):IPicture;

See Also

IShapes Interface | NativeExcel Namespace