menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class InkAnnotation - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class InkAnnotation

    Represents the details about ink annotation.

    Inheritance
    System.Object
    InkAnnotation
    Implements
    IAnnotation
    Namespace: Syncfusion.SfPdfViewer.Android
    Assembly: Syncfusion.SfPdfViewer.Android.dll
    Syntax
    public class InkAnnotation : Object, IAnnotation

    Constructors

    InkAnnotation()

    Instantiates a new instance of the InkAnnotation class.

    Declaration
    public InkAnnotation()

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

    Creates a new instance of the InkAnnotation InkAnnotation class.

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

    The collection of strokes which are represented by a series of alternate X and Y coordinates.

    System.Int32 pageNumber

    The page number in which the annotation should be added. This parameter follows 0 based indexing.

    Android.Graphics.Point position

    The top left position of the ink annotation.

    Properties

    Bounds

    Gets or sets the bounds of the annotation within the PDF page.

    Declaration
    public Rectangle Bounds { get; }
    Property Value
    Type
    System.Drawing.Rectangle

    InkPointsCollection

    Gets or sets the collection of strokes which are represented by a series of alternate X and Y coordinates.

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

    Default value is empty list.

    Name

    Gets or sets the name of the annotation.

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

    PageNumber

    Gets or sets the page index in which the annotation is added.

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

    Position

    Gets or sets the top left position of the ink annotation within the page.

    Declaration
    public Point Position { get; set; }
    Property Value
    Type
    Android.Graphics.Point

    Settings

    Gets or sets the value to customize the selected ink annotation

    Declaration
    public InkAnnotationSettings Settings { get; set; }
    Property Value
    Type
    InkAnnotationSettings

    Implements

    IAnnotation
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved