IRichTextString
SetFont Method
|
Sets font for range of characters.
Namespace:
Spire.Xls.Core
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
void SetFont(
int iStartPos,
int iEndPos,
IFont font
)
Sub SetFont (
iStartPos As Integer,
iEndPos As Integer,
font As IFont
)
void SetFont(
int iStartPos,
int iEndPos,
IFont^ font
)
abstract SetFont :
iStartPos : int *
iEndPos : int *
font : IFont -> unit
Parameters
-
iStartPos
-
Type:
System
Int32
First character of the range.
-
iEndPos
-
Type:
System
Int32
Last character of the range.
-
font
-
Type:
Spire.Xls.Core
IFont
Font to set.
See Also