Click or drag to resize

RTFStringArray GetFont Method

Retrieves the font at the specified position from the range's cell list.

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public IFont GetFont(
	int iPosition
)

Parameters

iPosition
Type: System Int32
The position of the font to retrieve.

Return Value

Type: IFont
The font at the specified position if all cells have the same font at that position; otherwise, null.

Implements

IRichTextString GetFont(Int32)
See Also