Skip to content

Commit 9ad4af3

Browse files
committed
Committing the changes for the migration document
1 parent 9c503de commit 9ad4af3

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

MAUI/PDF-Viewer/Annotations-Overview.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ keywords: .net maui pdf viewer, .net maui view pdf, pdf viewer in .net maui, .ne
1010

1111
# Annotations in .NET MAUI PDF Viewer (SfPdfViewer)
1212

13-
The [SfPdfViewer](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html) allows you to add, remove and modify annotations in the PDF documents. This section will go through the various types and functionalites available in PDF Viewer for working with annotations.
13+
The [SfPdfViewer](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html) allows you to add, remove and modify annotations in the PDF documents. This section will go through the various types and functionalities available in PDF Viewer for working with annotations.
1414

1515
## Supported Annotation Types
1616

@@ -30,4 +30,8 @@ The [SfPdfViewer](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.
3030
12. Stamp
3131
13. Sticky notes
3232
14. Strikeout
33-
15. Underline
33+
15. Underline
34+
35+
To learn how to work with annotations, you can also check out our video tutorial below.
36+
37+
<style>#MAUISfPdfViewerVideoTutorial{width : 90% !important; height: 400px !important }</style> <iframe id='MAUISfPdfViewerVideoTutorial' src='https://www.youtube.com/watch?v=Vom4I_xt--I'></iframe>

MAUI/PDF-Viewer/Migration.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,25 @@ private void PdfViewer_PropertyChanged(object? sender, PropertyChangedEventArgs
372372
In .NET MAUI PDF Viewer, you can implement custom save logic at the application level. If you would like to include a Save button in the built-in toolbar, this can be achieved by customizing the toolbar items. Refer to the {{'[Customize toolbar items user guide](https://help.syncfusion.com/maui/pdf-viewer/toolbar#customize-toolbar-items)'| markdownify }} for instructions on adding a custom Save button.
373373
</td>
374374
</tr>
375+
<tr>
376+
<td>
377+
<div>{{'[CanUndoModified](https://help.syncfusion.com/cr/xamarin/Syncfusion.SfPdfViewer.XForms.SfPdfViewer.html#Syncfusion_SfPdfViewer_XForms_SfPdfViewer_CanUndoModified)'| markdownify }},</div>
378+
<div>{{'[CanRedoModified](https://help.syncfusion.com/cr/xamarin/Syncfusion.SfPdfViewer.XForms.SfPdfViewer.html#Syncfusion_SfPdfViewer_XForms_SfPdfViewer_CanRedoModified)'| markdownify }},</div>
379+
<div>{{'[CanRedoInkModified](https://help.syncfusion.com/cr/xamarin/Syncfusion.SfPdfViewer.XForms.SfPdfViewer.html#Syncfusion_SfPdfViewer_XForms_SfPdfViewer_CanRedoInkModified)'| markdownify }},</div>
380+
<div>{{'[CanUndoInkModified](https://help.syncfusion.com/cr/xamarin/Syncfusion.SfPdfViewer.XForms.SfPdfViewer.html#Syncfusion_SfPdfViewer_XForms_SfPdfViewer_CanUndoInkModified)'| markdownify }},</div>
381+
</td>
382+
<td>API Unavailable</td>
383+
<td>In the .NET MAUI PDF Viewer, there are no public APIs available to determine whether undo or redo actions are available, unlike in Xamarin.
384+
However, undo and redo actions are typically triggered when changes are made to the PDF document such as adding, editing, or removing annotations, or modifying form field values. These types of modifications can be detected using the annotation and form field events provided by the PDF Viewer. These events include:
385+
<br><br>
386+
{{'[AnnotationAdded](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html#Syncfusion_Maui_PdfViewer_SfPdfViewer_AnnotationAdded)'| markdownify }}- Occurs when an annotation is added to a page.
387+
{{'[AnnotationEdited](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html#Syncfusion_Maui_PdfViewer_SfPdfViewer_AnnotationEdited)'| markdownify }} - Occurs when annotation is modified.
388+
{{'[AnnotationRemoved](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html#Syncfusion_Maui_PdfViewer_SfPdfViewer_AnnotationRemoved)'| markdownify }} - Occurs when an annotation is removed from the page.
389+
{{'[FormFieldValueChanged](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html#Syncfusion_Maui_PdfViewer_SfPdfViewer_FormFieldValueChanged)'| markdownify }} - Occurs when when the values of the form fields are changed in the PDF.
390+
<br><br>
391+
By handling these events, you can determine whether any modifications have been made to the PDF document.
392+
</td>
393+
</tr>
375394
</table>
376395

377396
## Methods

0 commit comments

Comments
 (0)