menu

Document Processing

TextMarkupAnnotationChangedEventArgs Class - C# PDF Library API Reference | Syncfusion

    Show / Hide Table of Contents

    TextMarkupAnnotationChangedEventArgs Class

    Provides data for the TextMarkupAnnotationChanged event.

    Inheritance
    System.Object
    AnnotationChangedEventArgs
    TextMarkupAnnotationChangedEventArgs
    Inherited Members
    AnnotationChangedEventArgs.Action
    AnnotationChangedEventArgs.Name
    AnnotationChangedEventArgs.NewBounds
    AnnotationChangedEventArgs.OldBounds
    AnnotationChangedEventArgs.PageNumber
    Namespace: Syncfusion.Windows.PdfViewer
    Assembly: Syncfusion.PdfViewer.WPF.dll
    Syntax
    public class TextMarkupAnnotationChangedEventArgs : AnnotationChangedEventArgs

    Properties

    Settings

    Gets the settings of the text markup annotation.

    Declaration
    public TextMarkupAnnotationSettings Settings { get; }
    Property Value
    Type
    TextMarkupAnnotationSettings
    Remarks

    The value requires type casting to the particular text markup annotation type.

    Examples

    ForHighlight,

     
    pdfViewer.TextMarkupAnnotationChanged += PdfViewer_TextMarkupAnnotationChanged;
    private void PdfViewer_TextMarkupAnnotationChanged(object sender, TextMarkupAnnotationChangedEventArgs e)
    {
        if (e.Type == TextMarkupAnnotationType.Highlight)
        {
            PdfViewerHighlightSettings highlightSettings = e.Settings as PdfViewerHighlightSettings;
        }
    }
    See Also
    PdfViewerStrikethroughSettings
    PdfViewerUnderlineSettings
    PdfViewerSquigglySettings

    Type

    Gets a value that indicates the type of text markup annotation.

    Declaration
    public TextMarkupAnnotationType Type { get; }
    Property Value
    Type
    TextMarkupAnnotationType
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved