XlsRange
InsertOrUpdateCellImage Method (String, Boolean)
|
Adds CellImage from the specified file.
this method only support WPS
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void InsertOrUpdateCellImage(
string fileName,
bool scale
)
Public Sub InsertOrUpdateCellImage (
fileName As String,
scale As Boolean
)
public:
void InsertOrUpdateCellImage(
String^ fileName,
bool scale
)
member InsertOrUpdateCellImage :
fileName : string *
scale : bool -> unit
Parameters
-
fileName
-
Type:
System
String
Represents image path to set.
-
scale
-
Type:
System
Boolean
scale if true scale for cell else clip the image.
See Also