PicturesCollection
Add Method (String, ImageFormatType)
|
Adds picture from the specified file.
Namespace:
Spire.Xls.Collections
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public ExcelPicture Add(
string fileName,
ImageFormatType imageFormat
)
Public Function Add (
fileName As String,
imageFormat As ImageFormatType
) As ExcelPicture
public:
ExcelPicture^ Add(
String^ fileName,
ImageFormatType imageFormat
)
member Add :
fileName : string *
imageFormat : ImageFormatType -> ExcelPicture
Parameters
-
fileName
-
Type:
System
String
File name.
-
imageFormat
-
Type:
Spire.Xls
ImageFormatType
Image format.
Return Value
Type:
ExcelPicture
Added picture.
See Also