menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TextSelectionChangedEventArgs - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TextSelectionChangedEventArgs

    Provides data for TextSelectionChanged event

    Inheritance
    System.Object
    TextSelectionChangedEventArgs
    Namespace: Syncfusion.Maui.PdfViewer
    Assembly: Syncfusion.Maui.PdfViewer.dll
    Syntax
    public class TextSelectionChangedEventArgs : EventArgs

    Properties

    Handled

    Gets or sets a value indicating whether the TextSelectionChanged event is handled in the application level or not. Set the value "true" to indicate that the event is handled in the application and to prevent the default context menu to appear. The default value is false.

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

    PageNumber

    Gets the page number at which the text is selected.

    Declaration
    public int PageNumber { get; }
    Property Value
    Type
    System.Int32

    SelectedText

    Gets the selected text.

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

    SelectedTextLineBounds

    Gets the rectangle collection that represents the bounding boxes of each line in the selected text.The value is represented in PDF page coordinates.

    Declaration
    public List<RectangleF> SelectedTextLineBounds { get; }
    Property Value
    Type
    System.Collections.Generic.List<RectangleF>
    Remarks

    It is a read-only collection and the modification in the list will not be reflected in the UI.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved