menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class ShapeAnnotationAddedEventArgs

    Provides data for the ShapeAnnotationAdded event.

    Inheritance
    System.Object
    ShapeAnnotationAddedEventArgs
    Namespace: Syncfusion.SfPdfViewer.XForms
    Assembly: Syncfusion.SfPdfViewer.XForms.dll
    Syntax
    public class ShapeAnnotationAddedEventArgs : EventArgs

    Properties

    AnnotationType

    Gets the annotation type of the annotation which is in SfPdfViewer.

    Declaration
    public AnnotationMode AnnotationType { get; }
    Property Value
    Type Description
    AnnotationMode

    An AnnotationMode that provides the type of the annotation in the loaded PDF document.

    Bounds

    Gets the bounds of the annotation which is in the SfPdfViewer.

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

    A Xamarin.Forms.Point that provides bounds of the annotation in the loaded PDF document.

    DataPoints

    Gets the collection of points which used to draw shape annnotation.

    Declaration
    public List<Point> DataPoints { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<Xamarin.Forms.Point>

    A data points provides collection of Xamarin.Forms.Point.

    Opacity

    Gets the opacity which is in ShapeAnnotation.

    Declaration
    public float Opacity { get; }
    Property Value
    Type Description
    System.Single

    A System.Single that holds the opacity of the shape annotation.The maximum value is 1, minimum value is 0.

    PageNumber

    Gets the page number of the annotation which is in the SfPdfViewer.

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

    An System.Int32 that provides the page number of the annotation in the loaded PDF document.

    Position

    Gets the position of the annotation which is in the SfPdfViewer.

    Declaration
    public Point Position { get; }
    Property Value
    Type Description
    Xamarin.Forms.Point

    A Xamarin.Forms.Point that provides position of the annotation in the loaded PDF document.

    StrokeColor

    Gets the stroke color which is in ShapeAnnotation.

    Declaration
    public Color StrokeColor { get; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    A Xamarin.Forms.Color that holds the stroke color of the shape annotation.

    Thickness

    Gets the thickness which is in ShapeAnnotation.

    Declaration
    public float Thickness { get; }
    Property Value
    Type Description
    System.Single

    A System.Int32 that holds the thickness of the shape annotation.The maximum value is 12 and minimum value is 1.

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