RTFStringArray
GetFont Method
|
Retrieves the font at the specified position from the range's cell list.
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 iPosition
)
Public Function GetFont (
iPosition As Integer
) As IFont
public:
virtual IFont^ GetFont(
int iPosition
) sealed
abstract GetFont :
iPosition : int -> IFont
override GetFont :
iPosition : int -> IFont
Parameters
-
iPosition
-
Type:
System
Int32
The position of the font to retrieve.
Return Value
Type:
IFont
The font at the specified position if all cells have the same font at that position; otherwise, null.
Implements
IRichTextString
GetFont(Int32)
See Also