PicturesCollection
Add Method (Int32, Int32, Int32, Int32, Image, 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,
int bottomRow,
int rightColumn,
Image image,
ImageFormatType imageFormat
)
Public Function Add (
topRow As Integer,
leftColumn As Integer,
bottomRow As Integer,
rightColumn As Integer,
image As Image,
imageFormat As ImageFormatType
) As ExcelPicture
public:
ExcelPicture^ Add(
int topRow,
int leftColumn,
int bottomRow,
int rightColumn,
Image^ image,
ImageFormatType imageFormat
)
member Add :
topRow : int *
leftColumn : int *
bottomRow : int *
rightColumn : int *
image : Image *
imageFormat : ImageFormatType -> ExcelPicture
Parameters
-
topRow
-
Type:
System
Int32
Top row of a new picture.
-
leftColumn
-
Type:
System
Int32
Left column.
-
bottomRow
-
Type:
System
Int32
Bottom row.
-
rightColumn
-
Type:
System
Int32
Right column.
-
image
-
Type:
System.Drawing
Image
Image to add.
-
imageFormat
-
Type:
Spire.Xls
ImageFormatType
Image format.
Return Value
Type:
ExcelPicture
Added picture.
See Also