UWP

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

    Show / Hide Table of Contents

    Class FreeTextAnnotation

    Represents free text annotation

    Inheritance
    System.Object
    FreeTextAnnotation
    FreeTextCalloutAnnotation
    Implements
    IAnnotation
    Namespace: Syncfusion.Windows.PdfViewer
    Assembly: Syncfusion.SfPdfViewer.UWP.dll
    Syntax
    public class FreeTextAnnotation : Object, IAnnotation

    Properties

    AnnotationId

    Gets the id of the annotation

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

    AnnotationType

    Gets the type of the annotation

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

    Author

    Gets or sets the name of the author of the annotation.

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

    Bounds

    Gets the bounds of the annotation

    Declaration
    public Rect Bounds { get; }
    Property Value
    Type Description
    Windows.Foundation.Rect

    Comments

    Gets or sets the comments of annotation which hold text, author and modifieddateandtime.

    Declaration
    public List<Comment> Comments { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<Comment>

    IsSelected

    Gets the value indicating whether the annotation is selected.

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

    PageNumber

    Gets the page number of the annotation

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

    Subject

    Gets or sets the subject of ink annotation

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

    Text

    Gets or sets the text of the freetext annotation

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

    TextColor

    Gets or sets the text color of the free text annotation

    Declaration
    public Color TextColor { get; set; }
    Property Value
    Type Description
    Windows.UI.Color

    TextSize

    Gets or sets the text size of the free text

    Declaration
    public double TextSize { get; set; }
    Property Value
    Type Description
    System.Double

    Methods

    ClosePopupNote()

    Close the popup window with details of the selected freetext annotation

    Declaration
    public void ClosePopupNote()

    Edit()

    Edits the selected free text annotation

    Declaration
    public void Edit()

    OpenPopupNote()

    Declaration
    public void OpenPopupNote()

    Implements

    IAnnotation

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved