Determines whether the specified System.Object is equal to this FormattedString. Syntax Parameters obj The value to test for equality to this FormattedString. Return Value True if the obj is a FormattedString instance and it contains the same unformatted string and formatting as this FormattedString; False otherwi...
Gets the font which controls the formatting properties in the string from the specified start index to the end of the string. Syntax Parameters startIndex The index of the first character the returned font controls. Return Value A FormattedStringFont instance which controls the formatting of the end portion of the...
Gets the font which controls the formatting properties in the string from the specified start index for the specified number of characters. Syntax Parameters startIndex The index of the first character the returned font controls.length The number of characters after the start index controlled by the returned font....
Gets the font which controls the formatting properties in the string from the specified start index to the end of the string. Overload List
Gets the collection of formatting runs representing contiguous blocks of similar formatting starting at the beginning of the string. Syntax
Calculates the has code for this FormattedString. Syntax Return Value A number which can be used in hashing functions.
Returns the System.String that represents this FormattedString. This is just the unformatted string. Syntax Return Value The String that represents this FormattedString. Remarks This will return the same value as UnformattedString.
Gets or sets the unformatted string. Syntax Property Value The unformatted string. Exceptions Exception Description System.ArgumentNullException The value assigned is a null string. Remarks If the new unformatted string assigned is shorter than the old unformatted string, all formatting outside the range of the ne...
Creates a new instance of the FormattedString class. Syntax Parameters unformattedString The string that will be displayed in the cell with the formatting. Exceptions Exception Description System.ArgumentNullException unformattedString is null.
Overload List