menu

UWP

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

    Show / Hide Table of Contents

    Class ShapeAnnotation

    Represents a shape annotation.

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

    Constructors

    ShapeAnnotation()

    Creates a new instance of the ShapeAnnotation class.

    Declaration
    public ShapeAnnotation()

    Properties

    AnnotationId

    Gets the annotation id.

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

    AnnotationType

    A type of the annotation.

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

    Author

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

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

    Bounds

    Gets the bounds of the annotation.

    Declaration
    public Rect Bounds { get; }
    Property Value
    Type
    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
    System.Collections.Generic.List<Comment>

    FillColor

    Gets the fill color of selected shape

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

    Opacity

    Gets or sets the opacity of selected shape

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

    PageNumber

    Gets the page number of the annotation.

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

    StrokeColor

    Gets or sets stroke color of the selected shape.

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

    Subject

    Gets or sets the subject of popup annotation

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

    Thickness

    Gets the thickness of selected shape

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

    Methods

    ClosePopupNote()

    Close the popup window with details of the selected shape annotation

    Declaration
    public void ClosePopupNote()

    OpenPopupNote()

    Opens the popup window with details of the selected shape annotation

    Declaration
    public void OpenPopupNote()

    Implements

    IAnnotation

    Extension Methods

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