alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class InkAnnotation

    Represents an annotation that displays a freehand drawing on the page.

    Inheritance
    System.Object
    Annotation
    InkAnnotation
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    Annotation.Author
    Annotation.Color
    Annotation.Comments
    Annotation.CustomData
    Annotation.FillColor
    Annotation.FlattenOnSave
    Annotation.Hidden
    Annotation.IsLocked
    Annotation.ModifiedDate
    Annotation.Name
    Annotation.Opacity
    Annotation.PageNumber
    Annotation.PropertyChanged
    Annotation.Subject
    Annotation.Text
    Namespace: Syncfusion.Maui.PdfViewer
    Assembly: Syncfusion.Maui.PdfViewer.dll
    Syntax
    public class InkAnnotation : Annotation, INotifyPropertyChanged

    Constructors

    InkAnnotation(List<List<Single>>, Int32)

    Initializes a new instance of the InkAnnotation class.

    Declaration
    public InkAnnotation(List<List<float>> pointsCollection, int pageNumber)
    Parameters
    Type Name Description
    System.Collections.Generic.List<System.Collections.Generic.List<System.Single>> pointsCollection

    The series of coordinates that represent the strokes of the ink annotations.

    System.Int32 pageNumber

    The page number to which the line should be added.

    Properties

    BorderWidth

    Gets or sets the border thickness of an annotation.

    Declaration
    public float BorderWidth { get; set; }
    Property Value
    Type
    System.Single

    Bounds

    Gets or sets the bounds for the shape annotation.

    Declaration
    public RectF Bounds { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.RectF

    IsSignature

    Gets or sets a value indicating whether this annotation should be considered as an electronic signature.

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

    If this property is true, the annotation’s bounds can be changed, but its other properties cannot be modified.

    PointsCollection

    Gets or sets the series of coordinates that represent the ink points of an ink annotation.

    Declaration
    public List<List<float>> PointsCollection { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<System.Collections.Generic.List<System.Single>>

    Implements

    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved