alexa
menu

Document Processing

    Show / Hide Table of Contents

    FreeTextAnnotation Class

    Represents a free text annotation on the page

    Inheritance
    System.Object
    Annotation
    FreeTextAnnotation
    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
    Namespace: Syncfusion.Maui.PdfViewer
    Assembly: Syncfusion.Maui.PdfViewer.dll
    Syntax
    public class FreeTextAnnotation : Annotation, INotifyPropertyChanged

    Constructors

    FreeTextAnnotation(String, Int32, RectF)

    Initializes a new instance of the FreeTextAnnotation class.

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

    Represents the text contents.

    System.Int32 pageNumber

    The page number to which the free text annotation should be added.

    Microsoft.Maui.Graphics.RectF bounds

    Bounds of the free text annotation.

    Properties

    BorderColor

    Gets or sets the border color for the free text annotation

    Declaration
    public Color BorderColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    BorderWidth

    Gets or sets the border thickness of the free text annotation.

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

    Bounds

    Gets or sets the bounds of the free text annotation

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

    FontSize

    Gets or sets the font size of the free text annotation. The value is represented in the PDF coordinates.

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

    Text

    Gets or sets the text to be presented in the free text annotation

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

    Implements

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