RTFCommentArray
SetFont Method
|
Sets font for specified 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 iStartPos,
int iEndPos,
IFont font
)
Public Sub SetFont (
iStartPos As Integer,
iEndPos As Integer,
font As IFont
)
public:
virtual void SetFont(
int iStartPos,
int iEndPos,
IFont^ font
) sealed
abstract SetFont :
iStartPos : int *
iEndPos : int *
font : IFont -> unit
override SetFont :
iStartPos : int *
iEndPos : int *
font : IFont -> unit
Parameters
-
iStartPos
-
Type:
System
Int32
First character to set font.
-
iEndPos
-
Type:
System
Int32
Last character to set.
-
font
-
Type:
Spire.Xls.Core
IFont
Font to set.
Implements
IRichTextString
SetFont(Int32, Int32, IFont)
See Also