IPictures
Add Method (Int32, Int32, Int32, Int32, String, ImageFormatType)
|
Adds image to the collection.
Namespace:
Spire.Xls.Core
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
IPictureShape Add(
int topRow,
int leftColumn,
int bottomRow,
int rightColumn,
string fileName,
ImageFormatType imageFormat
)
Function Add (
topRow As Integer,
leftColumn As Integer,
bottomRow As Integer,
rightColumn As Integer,
fileName As String,
imageFormat As ImageFormatType
) As IPictureShape
IPictureShape^ Add(
int topRow,
int leftColumn,
int bottomRow,
int rightColumn,
String^ fileName,
ImageFormatType imageFormat
)
abstract Add :
topRow : int *
leftColumn : int *
bottomRow : int *
rightColumn : int *
fileName : string *
imageFormat : ImageFormatType -> IPictureShape
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.
-
fileName
-
Type:
System
String
Name of the shape.
-
imageFormat
-
Type:
Spire.Xls
ImageFormatType
Image format to use for picture storing.
Return Value
Type:
IPictureShape
Added picture.
See Also