Xamarin.iOS

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

    Show / Hide Table of Contents

    Class InkAnnotation

    Represents the details about ink annotation.

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

    Constructors

    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.

    System.Drawing.Point position

    The top left position of the ink annotation.

    Properties

    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 Description
    System.String

    PageNumber

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

    Declaration
    public int PageNumber { get; }
    Property Value
    Type Description
    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 Description
    System.Drawing.Point

    Settings

    Gets or sets the value to customize the selected ink annotation

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

    Implements

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