XlsPicturesCollection
Add Method (Int32, Int32, Image, Int32, Int32, ImageFormatType)
 | 
Adds image to the collection.
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(
	int topRow,
	int leftColumn,
	Image image,
	int scaleWidth,
	int scaleHeight,
	ImageFormatType imageFormat
)
 
Public Function Add ( 
	topRow As Integer,
	leftColumn As Integer,
	image As Image,
	scaleWidth As Integer,
	scaleHeight As Integer,
	imageFormat As ImageFormatType
) As IPictureShape
 
public:
virtual IPictureShape^ Add(
	int topRow, 
	int leftColumn, 
	Image^ image, 
	int scaleWidth, 
	int scaleHeight, 
	ImageFormatType imageFormat
) sealed
 
abstract Add : 
topRow : int * 
leftColumn : int * 
image : Image * 
scaleWidth : int * 
scaleHeight : int * 
imageFormat : ImageFormatType -> IPictureShape 
override Add : 
topRow : int * 
leftColumn : int * 
image : Image * 
scaleWidth : int * 
scaleHeight : int * 
imageFormat : ImageFormatType -> IPictureShape 
 
 
 
Parameters
- 
topRow
 
- 
Type:
System
Int32
Top row of a new picture.
 
- 
leftColumn
 
- 
Type:
System
Int32
Left column.
 
- 
image
 
- 
Type:
System.Drawing
Image
Image.
 
- 
scaleWidth
 
- 
Type:
System
Int32
Width scale in percents.
 
- 
scaleHeight
 
- 
Type:
System
Int32
Height scale in percents.
 
- 
imageFormat
 
- 
Type:
Spire.Xls
ImageFormatType
Image format to use for picture storing.
 
Return Value
Type:
IPictureShape
Added picture.
Implements
IPictures
Add(Int32, Int32, Image, Int32, Int32, ImageFormatType)
 
See Also