GemBox.Spreadsheet
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    FormattedCharacterRange Class

    Namespace:
    GemBox.Spreadsheet
    Assembly:
    GemBox.Spreadsheet.dll

    Represents a range of characters within the cell or comment text.

    • C#
    • VB.NET
    public sealed class FormattedCharacterRange
    Public NotInheritable Class FormattedCharacterRange
    Inheritance:
    System.Object
    FormattedCharacterRange

    Properties

    Font

    Gets the font of the characters.

    • C#
    • VB.NET
    public ExcelFont Font { get; }
    Public ReadOnly Property Font As ExcelFont
    Property Value
    ExcelFont

    The font of the characters.

    Length

    Gets the number of characters.

    • C#
    • VB.NET
    public int Length { get; }
    Public ReadOnly Property Length As Integer
    Property Value
    System.Int32

    The number of characters.

    StartIndex

    Gets the zero-based starting character position.

    • C#
    • VB.NET
    public int StartIndex { get; }
    Public ReadOnly Property StartIndex As Integer
    Property Value
    System.Int32

    The zero-based starting character position.

    Text

    Gets the text represented by this character range.

    • C#
    • VB.NET
    public string Text { get; }
    Public ReadOnly Property Text As String
    Property Value
    System.String

    The text represented by this character range.

    Examples

    Comments example
    In-line Text Formatting example
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.