Click or drag to resize

XlsPicturesCollection Add Method (String, ImageFormatType)

Adds picture from the specified file.

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(
	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.

Implements

IPictures Add(String, ImageFormatType)
See Also