StickyNoteAnnotation Class
Represents the sticky note annotation on the text contents in the page.
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Syncfusion.Maui.PdfViewer
Assembly: Syncfusion.Maui.PdfViewer.dll
Syntax
public class StickyNoteAnnotation : Annotation, INotifyPropertyChanged
Constructors
StickyNoteAnnotation(StickyNoteIcon, String, Int32, PointF)
Initializes a new instance of the StickyNoteAnnotation class.
Declaration
public StickyNoteAnnotation(StickyNoteIcon icon, string text, int pageNumber, PointF position)
Parameters
| Type | Name | Description |
|---|---|---|
| StickyNoteIcon | icon | The icon of sticky annotation is added. |
| System.String | text | The text contents of the sticky note annotation. |
| System.Int32 | pageNumber | The page number to which the sticky note annotation should be added. |
| Microsoft.Maui.Graphics.PointF | position | The position of the sticky note annotation. |
Properties
Icon
Gets or sets the icon of the sticky note annotation.
Declaration
public StickyNoteIcon Icon { get; set; }
Property Value
| Type |
|---|
| StickyNoteIcon |
Position
Gets or sets the position of the sticky note annotation.
Declaration
public PointF Position { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.PointF |
Text
Gets or sets the text contents of the sticky note annotation.
Declaration
public string Text { get; set; }
Property Value
| Type |
|---|
| System.String |
Implements
System.ComponentModel.INotifyPropertyChanged