Version

FormattedTextFont Class

Controls the formatting of a range of characters in FormattedText.
Syntax
public class FormattedTextFont : FormattedFontBase, IWorkbookFont  
Remarks

The formatting of the string is controlled in a similar fashion as it would be in Microsoft Excel. In Excel, the user must select a portion of the text and set the various formatting properties of that selected text.

With the FormattedText, a portion of the string is "selected" by calling either FormattedText.GetFont(int) or FormattedText.GetFont(int,int). Formatting properties are then set on the returned FormattedTextFont and all characters in the font's selection range are given these properties.

Getting the formatting properties of a FormattedTextFont will return the formatting of the first character in font's selection range.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also

Reference

FormattedTextFont Members
Infragistics.Documents.Excel Namespace
FormattedText
FormattedText.GetFont(int)
FormattedText.GetFont(int,int)