WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TextMarkupAnnotationChangedEventArgs

    Show / Hide Table of Contents

    Class TextMarkupAnnotationChangedEventArgs

    Provides data for the TextMarkupAnnotationChanged event.

    Inheritance
    System.Object
    System.EventArgs
    AnnotationChangedEventArgs
    TextMarkupAnnotationChangedEventArgs
    Inherited Members
    AnnotationChangedEventArgs.PageNumber
    AnnotationChangedEventArgs.Action
    AnnotationChangedEventArgs.NewBounds
    AnnotationChangedEventArgs.OldBounds
    AnnotationChangedEventArgs.Name
    System.EventArgs.Empty
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    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 Description
    TextMarkupAnnotationType
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved