Click or drag to resize

XlsHeaderFooterShapeCollection SetPicture Method (String, Image, Int32, Boolean)

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 iIndex,
	bool bIncludeOptions
)

Parameters

strShapeName
Type: System String
Shape name.
image
Type: System.Drawing Image
Image to set.
iIndex
Type: System Int32
Represents new shape blip id index. If set -1 - auto indicate.
bIncludeOptions
Type: System Boolean
Indicates is current picture include options.

Return Value

Type: XlsShape
See Also