IPictures
Add Method (Int32, Int32, String, Int32, Int32, 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,
string fileName,
int scaleWidth,
int scaleHeight,
ImageFormatType imageFormat
)
Function Add (
topRow As Integer,
leftColumn As Integer,
fileName As String,
scaleWidth As Integer,
scaleHeight As Integer,
imageFormat As ImageFormatType
) As IPictureShape
IPictureShape^ Add(
int topRow,
int leftColumn,
String^ fileName,
int scaleWidth,
int scaleHeight,
ImageFormatType imageFormat
)
abstract Add :
topRow : int *
leftColumn : int *
fileName : string *
scaleWidth : int *
scaleHeight : int *
imageFormat : ImageFormatType -> IPictureShape
Parameters
-
topRow
-
Type:
System
Int32
Top row of a new picture.
-
leftColumn
-
Type:
System
Int32
Left column.
-
fileName
-
Type:
System
String
Name of the shape.
-
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.
See Also