Click or drag to resize

PicturesCollection Add Method (String, ImageFormatType)

Adds picture from the specified file.

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

Parameters

fileName
Type: System String
File name.
imageFormat
Type: Spire.Xls ImageFormatType
Image format.

Return Value

Type: ExcelPicture
Added picture.
See Also