XlsPicturesCollection
Add Method (String, ImageFormatType)
|
Adds picture from the specified file.
Namespace:
Spire.Xls.Core.Spreadsheet.Collections
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public IPictureShape Add(
string strFileName,
ImageFormatType imageFormat
)
Public Function Add (
strFileName As String,
imageFormat As ImageFormatType
) As IPictureShape
public:
virtual IPictureShape^ Add(
String^ strFileName,
ImageFormatType imageFormat
) sealed
abstract Add :
strFileName : string *
imageFormat : ImageFormatType -> IPictureShape
override 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.
Implements
IPictures
Add(String, ImageFormatType)
See Also