menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TextPosition - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TextPosition

    Inheritance
    System.Object
    TextPosition
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.RichTextBoxAdv.WPF.dll
    Syntax
    public class TextPosition

    Constructors

    TextPosition(DocumentAdv)

    Declaration
    public TextPosition(DocumentAdv document)
    Parameters
    Type Name Description
    DocumentAdv document

    Properties

    Document

    Gets the Document

    Declaration
    public DocumentAdv Document { get; }
    Property Value
    Type
    DocumentAdv

    Index

    Gets or Sets the index in the Paragraph

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

    IsPositionAtParagraphEnd

    Indicates whether the position is at the end of the paragraph

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

    IsPositionAtTableEnd

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

    IsPositionAtTableStart

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

    TempTableEndPosition

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

    Methods

    Copy()

    Returns the copy of the current position

    Declaration
    public TextPosition Copy()
    Returns
    Type
    TextPosition

    CopyForHistory()

    Declaration
    public TextPosition CopyForHistory()
    Returns
    Type
    TextPosition

    GetPositionUsingIndex()

    Declaration
    public TextPosition GetPositionUsingIndex()
    Returns
    Type
    TextPosition

    IsEqual(TextPosition)

    Returns a value indicating whether both TextPosition points same position

    Declaration
    public bool IsEqual(TextPosition pos)
    Parameters
    Type Name Description
    TextPosition pos
    Returns
    Type
    System.Boolean

    IsGreaterThan(TextPosition)

    Declaration
    public bool IsGreaterThan(TextPosition pos)
    Parameters
    Type Name Description
    TextPosition pos
    Returns
    Type
    System.Boolean

    IsInSameDocument(TextPosition)

    Returns a value indicating whether both TextPosition are in same Document

    Declaration
    public bool IsInSameDocument(TextPosition pos)
    Parameters
    Type Name Description
    TextPosition pos
    Returns
    Type
    System.Boolean

    IsInSameParagraph(TextPosition)

    Returns a value indicating whether both TextPosition are in same paragraph

    Declaration
    public bool IsInSameParagraph(TextPosition pos)
    Parameters
    Type Name Description
    TextPosition pos
    Returns
    Type
    System.Boolean

    IsInSameSection(TextPosition)

    Returns a value indicating whether both TextPosition are in same section

    Declaration
    public bool IsInSameSection(TextPosition pos)
    Parameters
    Type Name Description
    TextPosition pos
    Returns
    Type
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved