Click or drag to resize

RichTextShape GetFont Method

Retrieves the font at the specified index.

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 index
)

Parameters

index
Type: System Int32
The index of the font to retrieve.

Return Value

Type: IFont
The font at the specified index.

Implements

IRichTextString GetFont(Int32)
Exceptions
Exception Condition
ArgumentOutOfRangeException Thrown when the index is out of range.
See Also