XlsPicturesCollection
Add Method (Image, String, ImageFormatType)
 | 
Adds picture to the collection.
Namespace:
Spire.Xls.Core.Spreadsheet.Collections
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
 
public IPictureShape Add(
	Image image,
	string pictureName,
	ImageFormatType imageFormat
)
 
Public Function Add ( 
	image As Image,
	pictureName As String,
	imageFormat As ImageFormatType
) As IPictureShape
 
public:
virtual IPictureShape^ Add(
	Image^ image, 
	String^ pictureName, 
	ImageFormatType imageFormat
) sealed
 
abstract Add : 
image : Image * 
pictureName : string * 
imageFormat : ImageFormatType -> IPictureShape 
override Add : 
image : Image * 
pictureName : string * 
imageFormat : ImageFormatType -> IPictureShape 
 
 
 
Parameters
- 
image
 
- 
Type:
System.Drawing
Image
Picture to add.
 
- 
pictureName
 
- 
Type:
System
String
Picture name.
 
- 
imageFormat
 
- 
Type:
Spire.Xls
ImageFormatType
Image format to use for picture storing.
 
Return Value
Type:
IPictureShape
Added picture.
Implements
IPictures
Add(Image, String, ImageFormatType)
 
See Also