Click or drag to resize

LabelShapeCollection AddLabel Method

Adds a label shape to the specified position and size on a grid.

Namespace: Spire.Xls.Core.Spreadsheet.Collections
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public ILabelShape AddLabel(
	int row,
	int column,
	int height,
	int width
)

Parameters

row
Type: System Int32
The zero-based row index where the label should be placed.
column
Type: System Int32
The zero-based column index where the label should be placed.
height
Type: System Int32
The height of the label.
width
Type: System Int32
The width of the label.

Return Value

Type: ILabelShape
An ILabelShape representing the newly added label.

Implements

ILabelShapes AddLabel(Int32, Int32, Int32, Int32)
See Also