XlsHeaderFooterShapeCollection
SetPicture Method (String, Image, Int32)
|
Sets picture.
Namespace:
Spire.Xls.Core.Spreadsheet.Collections
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public XlsShape SetPicture(
string strShapeName,
Image image,
int index
)
Public Function SetPicture (
strShapeName As String,
image As Image,
index As Integer
) As XlsShape
public:
XlsShape^ SetPicture(
String^ strShapeName,
Image^ image,
int index
)
member SetPicture :
strShapeName : string *
image : Image *
index : int -> XlsShape
Parameters
-
strShapeName
-
Type:
System
String
Shape name.
-
image
-
Type:
System.Drawing
Image
Image to set.
-
index
-
Type:
System
Int32
Represents new shape blip id index. If set -1 - auto indicate.
Return Value
Type:
XlsShape
See Also