IShapes
AddPicture Method (Image, String, ImageFormatType)
|
Adds new image to the collection.
Namespace:
Spire.Xls.Core
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
IPictureShape AddPicture(
Image image,
string pictureName,
ImageFormatType imageFormat
)
Function AddPicture (
image As Image,
pictureName As String,
imageFormat As ImageFormatType
) As IPictureShape
IPictureShape^ AddPicture(
Image^ image,
String^ pictureName,
ImageFormatType imageFormat
)
abstract AddPicture :
image : Image *
pictureName : string *
imageFormat : ImageFormatType -> IPictureShape
Parameters
-
image
-
Type:
System.Drawing
Image
Image to add.
-
pictureName
-
Type:
System
String
File name with the image.
-
imageFormat
-
Type:
Spire.Xls
ImageFormatType
Image format to use for picture storing.
Return Value
Type:
IPictureShape
Newly created picture shape.
See Also