Click or drag to resize

RichTextString SetFont Method

Sets font for range of characters.

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void SetFont(
	int startIndex,
	int endIndex,
	IFont font
)

Parameters

startIndex
Type: System Int32
First character of the range.
endIndex
Type: System Int32
Last character of the range.
font
Type: Spire.Xls.Core IFont
Font to set.

Implements

IRichTextString SetFont(Int32, Int32, IFont)
See Also