alexa
menu

Document Processing

    Show / Hide Table of Contents

    LineAnnotation Class

    Represents an annotation that displays a line on the page.

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

    Constructors

    LineAnnotation(Single[], Int32, LineEndingStyle)

    Initializes a new instance of the LineAnnotation class.

    Declaration
    public LineAnnotation(float[] points, int pageNumber, LineEndingStyle endStyle)
    Parameters
    Type Name Description
    System.Single[] points

    Series of coordinates that represent the starting point and ending point of the line annotation.

    System.Int32 pageNumber

    The page number to which the line should be added.

    LineEndingStyle endStyle

    Gets or sets the ending style of a line annotation.

    Properties

    LineEndingStyle

    Gets or sets the ending style of a line annotation.

    Declaration
    public LineEndingStyle LineEndingStyle { get; set; }
    Property Value
    Type
    LineEndingStyle

    Points

    Gets or sets the series of coordinates that represent the starting point and ending point of a line annotation.

    Declaration
    public float[] Points { get; set; }
    Property Value
    Type
    System.Single[]

    Implements

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