Click or drag to resize

PicturesCollection Add Method (Image, String, ImageFormatType)

Adds picture to the collection.

Namespace: Spire.Xls.Collections
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public ExcelPicture Add(
	Image image,
	string pictureName,
	ImageFormatType imageFormat
)

Parameters

image
Type: System.Drawing Image
Picture to add.
pictureName
Type: System String
Picture name.
imageFormat
Type: Spire.Xls ImageFormatType
Image format.

Return Value

Type: ExcelPicture
Added picture.
See Also