Click or drag to resize

IPictures Add Method (String, ImageFormatType)

Adds picture from the specified file.

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
IPictureShape Add(
	string strFileName,
	ImageFormatType imageFormat
)

Parameters

strFileName
Type: System String
Picture file name.
imageFormat
Type: Spire.Xls ImageFormatType
Image format to use for picture storing.

Return Value

Type: IPictureShape
Added picture.
See Also