menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RTFCommentArray - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RTFCommentArray

    Inheritance
    System.Object
    CommonObject
    RTFCommentArray
    Implements
    System.IDisposable
    IRichTextString
    IParentApplication
    IOptimizedUpdate
    Inherited Members
    CommonObject.AddReference()
    CommonObject.AppImplementation
    CommonObject.Application
    CommonObject.CheckDisposed()
    CommonObject.Dispose()
    CommonObject.Finalize()
    CommonObject.FindParent(Object, Type)
    CommonObject.FindParent(Object, Type, Boolean)
    CommonObject.FindParent(Type)
    CommonObject.FindParent(Type, Boolean)
    CommonObject.FindParent(Type[])
    CommonObject.FindParents(Type[])
    CommonObject.m_bIsDisposed
    CommonObject.OnDispose()
    CommonObject.Parent
    CommonObject.ReferenceCount
    CommonObject.ReleaseReference()
    CommonObject.SetParent(Object)
    Namespace: Syncfusion.XlsIO.Implementation
    Assembly: Syncfusion.XlsIO.Portable.dll
    Syntax
    public class RTFCommentArray : CommonObject, IDisposable, IRichTextString, IParentApplication, IOptimizedUpdate

    Constructors

    RTFCommentArray(IApplication, Object)

    Declaration
    public RTFCommentArray(IApplication application, object parent)
    Parameters
    Type Name Description
    IApplication application
    System.Object parent

    Properties

    IsFormatted

    Indicates whether rich text string has formatting runs. Read-only.

    Declaration
    public bool IsFormatted { get; }
    Property Value
    Type
    System.Boolean

    RtfText

    Declaration
    public string RtfText { get; set; }
    Property Value
    Type
    System.String

    Text

    Declaration
    public string Text { get; set; }
    Property Value
    Type
    System.String

    Methods

    Append(String, IFont)

    Appends rich text string with specified text and font.

    Declaration
    public void Append(string text, IFont font)
    Parameters
    Type Name Description
    System.String text

    Text to append.

    IFont font

    Font to use.

    BeginUpdate()

    Declaration
    public void BeginUpdate()

    Clear()

    Clears text and formatting.

    Declaration
    public void Clear()

    ClearFormatting()

    Clears formatting.

    Declaration
    public void ClearFormatting()

    EndUpdate()

    Declaration
    public void EndUpdate()

    GetFont(Int32)

    Returns font for character at specified position.

    Declaration
    public IFont GetFont(int iPosition)
    Parameters
    Type Name Description
    System.Int32 iPosition

    Position of the symbol.

    Returns
    Type Description
    IFont

    Font for character at specified position if it is equal for all cells in the parent range, otherwise NULL is returned.

    SetFont(Int32, Int32, IFont)

    Sets font for specified range of characters.

    Declaration
    public void SetFont(int iStartPos, int iEndPos, IFont font)
    Parameters
    Type Name Description
    System.Int32 iStartPos

    First character to set font.

    System.Int32 iEndPos

    Last character to set.

    IFont font

    Font to set.

    Implements

    System.IDisposable
    IRichTextString
    IParentApplication
    IOptimizedUpdate
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved