IPictures
Add Method (String, ImageFormatType)
|
Adds picture from the specified file.
Namespace:
Spire.Xls.Core
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
IPictureShape Add(
string strFileName,
ImageFormatType imageFormat
)
Function Add (
strFileName As String,
imageFormat As ImageFormatType
) As IPictureShape
IPictureShape^ Add(
String^ strFileName,
ImageFormatType imageFormat
)
abstract Add :
strFileName : string *
imageFormat : ImageFormatType -> IPictureShape
Parameters
-
strFileName
-
Type:
System
String
Picture file name.
-
imageFormat
-
Type:
Spire.Xls
ImageFormatType
Image format to use for picture storing.
Return Value
Type:
IPictureShape
Added picture.
See Also