Click or drag to resize

PicturesCollection AddLinkPic Method

Adds a linked picture to the specified cell location in an Excel worksheet.

Namespace: Spire.Xls.Collections
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public ExcelPicture AddLinkPic(
	int topRow,
	int leftColumn,
	int height,
	int width,
	string linktarget
)

Parameters

topRow
Type: System Int32
The zero-based index of the row where the top of the picture will be positioned.
leftColumn
Type: System Int32
The zero-based index of the column where the left side of the picture will be positioned.
height
Type: System Int32
The height of the picture in points.
width
Type: System Int32
The width of the picture in points.
linktarget
Type: System String
The URL or location that the picture will link to.

Return Value

Type: ExcelPicture
An ExcelPicture object representing the added linked picture.
See Also