RichTextString
SetRichTextFont Method
|
Sets the font for a specified range of text in a rich text string.
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
protected void SetRichTextFont(
int iStartPos,
int iEndPos,
IFont font
)
Protected Sub SetRichTextFont (
iStartPos As Integer,
iEndPos As Integer,
font As IFont
)
protected:
void SetRichTextFont(
int iStartPos,
int iEndPos,
IFont^ font
)
member SetRichTextFont :
iStartPos : int *
iEndPos : int *
font : IFont -> unit
Parameters
-
iStartPos
-
Type:
System
Int32
The starting position of the range to apply the font.
-
iEndPos
-
Type:
System
Int32
The ending position of the range to apply the font.
-
font
-
Type:
Spire.Xls.Core
IFont
The font to apply to the specified range.
See Also