Infragistics(R) NetAdvantage(R) WPF
FormattedStringFont Class
Members  See Also  E-mail your feedback on this topic.
Infragistics.Documents.Excel Namespace : FormattedStringFont Class

Controls the formatting of a range of characters in a FormattedString.

Syntax

Visual Basic (Declaration) 
Public Class FormattedStringFont 
   Implements IWorkbookFont 
C# 
public class FormattedStringFont : 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 FormattedString, a portion of the string is "selected" by calling either GetFont(int) or GetFont(int,int). Formatting properties are then set on the returned FormattedStringFont and all characters in the font's selection range are given these properties.

Getting the formatting properties of a FormattedStringFont will return the formatting of the first character in font's selection range. This is similar to Excel, which will update the formatting interface to reflect the formatting of the first character in a selection range when a cell's text is selected.

See Also

Reference

FormattedStringFont Members
Infragistics.Documents.Excel Namespace
T:FormattedString
M:FormattedString.GetFont(int)
M:FormattedString.GetFont(int,int)