IPictures
Add Method (Int32, Int32, Stream, Int32, Int32)
|
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,
Stream stream,
int scaleWidth,
int scaleHeight
)
Function Add (
topRow As Integer,
leftColumn As Integer,
stream As Stream,
scaleWidth As Integer,
scaleHeight As Integer
) As IPictureShape
IPictureShape^ Add(
int topRow,
int leftColumn,
Stream^ stream,
int scaleWidth,
int scaleHeight
)
abstract Add :
topRow : int *
leftColumn : int *
stream : Stream *
scaleWidth : int *
scaleHeight : int -> IPictureShape
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.
-
scaleWidth
-
Type:
System
Int32
Width scale in percents.
-
scaleHeight
-
Type:
System
Int32
Height scale in percents.
Return Value
Type:
IPictureShape
Added picture.
See Also