Click or drag to resize

PicturesCollection Add Method (Int32, Int32, Stream, ImageFormatType)

Adds image 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(
	int topRow,
	int leftColumn,
	Stream stream,
	ImageFormatType imageFormat
)

Parameters

topRow
Type: System Int32
Top row of a new picture.
leftColumn
Type: System Int32
Left column.
stream
Type: System.IO Stream
Stream with the picture.
imageFormat
Type: Spire.Xls ImageFormatType
Image format.

Return Value

Type: ExcelPicture
Added picture.
See Also