Click or drag to resize

XlsPicturesCollection AddLinkPic Method

Adds a linked picture to the specified location with the given dimensions and link target.

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

Parameters

topRow
Type: System Int32
The zero-based index of the top row where the picture will be placed.
leftColumn
Type: System Int32
The zero-based index of the left column where the picture will be placed.
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 target of the link associated with the picture.

Return Value

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