menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class FreeTextAnnotation

    Represent free text annotation in SfPdfViewer.

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

    Constructors

    FreeTextAnnotation(String, Int32, Rectangle)

    Creates a new instance of the FreeTextAnnotation FreeTextAnnotation class.

    Declaration
    public FreeTextAnnotation(string text, int pageNumber, Rectangle bounds)
    Parameters
    Type Name Description
    System.String text

    Text of free text.

    System.Int32 pageNumber

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

    Xamarin.Forms.Rectangle bounds

    Properties

    Bounds

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

    Declaration
    public Rectangle Bounds { get; set; }
    Property Value
    Type
    Xamarin.Forms.Rectangle

    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

    Settings

    Gets or sets the free text annotation properties.

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

    Implements

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