Skip to content

Commit 82673fd

Browse files
committed
Merge branch 'hotfix/hotfix-v34.1.29' of https://github.com/syncfusion-content/document-processing-docs into ValidateLicense-HF
2 parents 35560f0 + 4c52786 commit 82673fd

23 files changed

Lines changed: 463 additions & 553 deletions

Document-Processing/PDF/PDF-Viewer/maui/Add-Remove-Modify-Annotations.md

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

1111
# Add, Remove, and Edit Annotations
1212

13-
This section will review the various functions in the [SfPdfViewer](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html) for adding, removing, and editing annotations in a PDF document.
13+
This section explains the various functions in the [SfPdfViewer](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html) for adding, removing, and editing annotations in a PDF document.
1414

1515
## Add annotations to a PDF document
1616

17-
This section will go through how to add annotations to a PDF document programmatically.
17+
This section explains how to add annotations to a PDF document programmatically.
1818

1919
### Add annotations programmatically
2020

21-
You can add a new annotation to the PDF document programmatically by creating an annotation instance and providing it as a parameter to the [AddAnnotation](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html#Syncfusion_Maui_PdfViewer_SfPdfViewer_AddAnnotation_Syncfusion_Maui_PdfViewer_Annotation_) method. The following example shows how to create an instance of a circle annotation and add it to the PDF document. Similarly, you can create and add other types of annotations.
21+
You can add a new annotation to the PDF document programmatically by creating an annotation instance and providing it as a parameter to the [AddAnnotation](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html#Syncfusion_Maui_PdfViewer_SfPdfViewer_AddAnnotation_Syncfusion_Maui_PdfViewer_Annotation_) method. The following example shows how to create an instance of a circle annotation and add it to the PDF document. Similarly, you can create and add other types of annotations. For more information on the available annotation types, refer to the [Annotations Overview](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/annotations-overview).
2222

2323
{% tabs %}
2424
{% highlight c# %}
@@ -65,7 +65,7 @@ private void OnAnnotationAdded(object sender, AnnotationEventArgs e)
6565

6666
## Remove annotations from the PDF document
6767

68-
This section will go through different methods of removing annotations from a PDF document.
68+
This section explains different methods of removing annotations from a PDF document.
6969

7070
### Remove a specific annotation
7171

@@ -174,11 +174,11 @@ private void OnAnnotationEdited(object sender, AnnotationEventArgs e)
174174
{% endhighlight %}
175175
{% endtabs %}
176176

177-
### Adding custom information to an annotation
177+
## Adding custom information to an annotation
178178

179-
The [SfPdfViewer](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html) allows you to assign custom information to annotations. The [CustomData](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.Annotation.html#Syncfusion_Maui_PdfViewer_Annotation_CustomData) property is utilized to store additional information about each annotation instance for reference. However, it's essential to note that these data are solely intended for reference purposes and will not be displayed in the [SfPdfViewer](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html) interface.
179+
The [SfPdfViewer](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html) allows you to assign custom information to annotations. The [CustomData](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.Annotation.html#Syncfusion_Maui_PdfViewer_Annotation_CustomData) property is utilized to store additional information about each annotation instance for reference. However, it's essential to note that this data is solely intended for reference purposes and will not be displayed in the [SfPdfViewer](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html) interface.
180180

181-
The provided code sample illustrates how to set the [CustomData](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.Annotation.html#Syncfusion_Maui_PdfViewer_Annotation_CustomData) property for an annotation. Within this code sample, we set the custom data to represent the creation date of the annotation.
181+
The provided code sample illustrates how to set the [CustomData](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.Annotation.html#Syncfusion_Maui_PdfViewer_Annotation_CustomData) property for an annotation. In this code sample, the custom data is set to represent the creation date of the annotation.
182182

183183
{% tabs %}
184184
{% highlight C# %}
@@ -196,3 +196,9 @@ private void OnAnnotationAdded(object sender, AnnotationEventArgs e)
196196
- [Select and Deselect Annotations](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/select-deselect-annotations)
197197
- [Import and Export Annotations](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/import-export-annotations)
198198
- [Undo and Redo](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/undo-redo)
199+
- [Shapes](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/shapes)
200+
- [Text Markups](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/text-markups)
201+
- [Ink](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/ink)
202+
- [Signature](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/signature)
203+
- [Stamps](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/stamps)
204+
- [Save a Document](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/save-a-document)

Document-Processing/PDF/PDF-Viewer/maui/Annotation-Collection.md

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

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

13-
The existing annotations in a PDF document can be accessed using the [Annotations](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html#Syncfusion_Maui_PdfViewer_SfPdfViewer_Annotations) property of the [SfPdfViewer](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html). This read only property will have the annotation collection information as soon as the document is loaded into the PDF Viewer. The following example explains how to use the property to obtain information about a square annotation that is the first on a specific document.
13+
The existing annotations in a PDF document can be accessed using the [Annotations](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html#Syncfusion_Maui_PdfViewer_SfPdfViewer_Annotations) property of the [SfPdfViewer](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html). This read-only property will have the annotation collection information as soon as the document is loaded into the PDF Viewer.
14+
The following example explains how to use the property to obtain information about the first annotation in a specific document.
1415

1516
{% tabs %}
1617
{% highlight c# %}
@@ -42,7 +43,7 @@ private void OnDocumentLoaded(object sender, EventArgs e)
4243
{% endtabs %}
4344

4445
## AnnotationsLoaded event
45-
The [AnnotationsLoaded](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html#Syncfusion_Maui_PdfViewer_SfPdfViewer_AnnotationsLoaded) event occurs after all annotations in the PDF have finished loading, either when the document is opened or when annotations are imported. You can use this event to perform actions once annotations are fully available in the viewer.
46+
The [AnnotationsLoaded](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html#Syncfusion_Maui_PdfViewer_SfPdfViewer_AnnotationsLoaded) event occurs after all annotations in the PDF have finished loading, either when the document is opened or when annotations are imported. The `AnnotationsLoaded` event fires after the [DocumentLoaded](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html#Syncfusion_Maui_PdfViewer_SfPdfViewer_DocumentLoaded) event, once all annotations are fully available in the viewer. You can use this event to perform actions once annotations are fully available in the viewer.
4647
The following example explains how to wire and handle the event.
4748

4849
{% tabs %}
@@ -51,10 +52,10 @@ The following example explains how to wire and handle the event.
5152
void WireAnnotationsLoadedEvent()
5253
{
5354
// Wire the annotations loaded event of [SfPdfViewer](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html).
54-
pdfViewer.AnnotationsLoaded += OnAnnotationsLoaded;
55+
PdfViewer.AnnotationsLoaded += OnAnnotationsLoaded;
5556
}
5657

57-
private void OnAnnotationsLoaded(object? sender, EventArgs e)
58+
private void OnAnnotationsLoaded(object sender, EventArgs e)
5859
{
5960
Debug.WriteLine("All annotations have been loaded.");
6061
}
@@ -63,6 +64,8 @@ private void OnAnnotationsLoaded(object? sender, EventArgs e)
6364
{% endtabs %}
6465

6566
## See Also
66-
- [Add, Remove, and Modify Annotations](../add-remove-modify-annotations)
67-
- [Annotations Overview](../annotations-overview)
68-
- [Select and Deselect Annotations](../select-deselect-annotations)
67+
- [Add, Remove, and Edit Annotations](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/add-remove-modify-annotations)
68+
- [Annotations Overview](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/annotations-overview)
69+
- [Select and Deselect Annotations](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/select-deselect-annotations)
70+
- [Import and Export Annotations](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/import-export-annotations)
71+
- [Undo and Redo](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/undo-redo)

Document-Processing/PDF/PDF-Viewer/maui/Annotations-Comment.md

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The PDF Viewer control provides options to add, edit, and delete comments for th
1818
6. Free text annotation
1919
7. Signature annotation
2020

21-
## Showing/Hiding the Comment panel
21+
## Showing or hiding the comment panel
2222
The built-in Comment Panel in the PDF Viewer displays annotation comments. You can show or hide this panel using the [IsCommentsPanelVisible](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html#Syncfusion_Maui_PdfViewer_SfPdfViewer_IsCommentsPanelVisible) property. The default value of this property is false.
2323
{% tabs %}
2424
{% highlight c# %}
@@ -40,7 +40,7 @@ PdfViewer.IsCommentsPanelVisible = true;
4040

4141

4242
## Comment panel
43-
Annotation comments can be added to the PDF using the comment panel. Comment panel can be opened by using Built-in toolbar, In the toolbar you can see the comments button in the primary toolbar for desktop and top toolbar for mobile. The comment panel displays all annotations in the document along with their comments and replies, allowing you to add comments to any annotation and reply to existing comments or annotations.
43+
Annotation comments can be added to the PDF using the comment panel. The comment panel can be opened using the built-in toolbar. In the toolbar, you can find the Comments button in the primary toolbar for desktop and in the top toolbar for mobile. The comment panel displays all annotations in the document along with their comments and replies, allowing you to add comments to any annotation and reply to existing comments or annotations.
4444
The following image represents how to add the comments using the toolbar on the desktop.
4545

4646
![Annotations comments Built-in toolbar](Images/Annotations/desktop-comment.gif)
@@ -50,16 +50,16 @@ The following image represents how to add comments using the toolbar on mobile.
5050
![Annotations comments Built-in toolbar](Images/Annotations/mobile-comment.gif)
5151

5252
## Adding comments or replies
53-
Follow these steps to add comments or replies :
53+
Follow these steps to add comments or replies:
5454
1. Select the annotation in the PDF document and open the comment panel.
5555
2. The corresponding comment thread is highlighted in the comment panel.
56-
3. Add comments and replies using the comment panel.
57-
4. Using the reply button in the comment panel, you can add a comment directly to a specific annotation, ensuring the discussion stays linked to that annotation.
56+
3. Add a comment using the comment input area.
57+
4. To reply to an existing comment or annotation, use the Reply button in the comment panel. This keeps the discussion linked to that annotation.
5858
5. Multiple replies can be added to a comment.
5959

6060
## Add comments or replies programmatically
61-
These can add comments or replies to existing annotations programmatically by accessing the specific annotation from the Annotations collection. This allows you to enhance collaboration and provide feedback directly within the PDF.
62-
The following example explains how to add comments or replies to specific annotations in the PDF document.
61+
You can add comments or replies to existing annotations programmatically by accessing the specific annotation from the Annotations collection. This allows you to enhance collaboration and provide feedback directly within the PDF.
62+
The following example explains how to add comments or replies to a specific annotation in the PDF document.
6363

6464
{% tabs %}
6565
{% highlight c# %}
@@ -77,22 +77,30 @@ annotation.Comments.Add(comment);
7777
{% endhighlight %}
7878
{% endtabs %}
7979

80-
## Editing the comments and comments replies of the annotations
81-
Comments and replies can be edited through the context menu available under the More Options in the Comment Panel. Follow the steps below:
82-
Select the annotation comment in the comment panel.
83-
84-
1. Click More options in the comment or reply to container.
85-
2. Select Edit from the context menu.
86-
3. An editable text box appears. Change the content of the comment or reply.
80+
## Editing comments and replies
81+
Comments and replies can be edited through the context menu available under More Options in the Comment Panel. Follow the steps below:
82+
1. Select the annotation comment in the comment panel.
83+
2. Click More Options in the comment or reply container.
84+
3. Select Edit from the context menu.
85+
4. An editable text box appears. Change the content of the comment or reply.
8786

88-
## Delete Comment or Comment Replies
89-
Comments and replies can be deleted through the context menu available under the More Options in the Comment Panel. Follow the steps below:
87+
## Deleting comments and replies
88+
Comments and replies can be deleted through the context menu available under More Options in the Comment Panel. Follow the steps below:
9089
1. Select the annotation comment in the comment panel.
91-
2. Click More options in the comment or reply to container.
90+
2. Click More Options in the comment or reply container.
9291
3. Select Delete from the context menu.
9392

94-
**Note :** Deleting the root comment from the comment panel also deletes the associated annotation.
93+
**Note:** Deleting the root comment from the comment panel also deletes the associated annotation.
9594

9695
## See Also
97-
- [Add, Remove, and Modify Annotations](../add-remove-modify-annotations)
98-
- [Annotations Overview](../annotations-overview)
96+
- [Add, Remove, and Edit Annotations](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/add-remove-modify-annotations)
97+
- [Annotations Overview](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/annotations-overview)
98+
- [Annotation Collection](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/annotation-collection)
99+
- [Ink](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/ink)
100+
- [Shapes](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/shapes)
101+
- [Stamps](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/stamps)
102+
- [Sticky Notes](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/sticky-notes)
103+
- [Free Text](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/free-text)
104+
- [Text Markups](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/text-markups)
105+
- [Signature](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/signature)
106+
- [Toolbar](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/maui/toolbar)

0 commit comments

Comments
 (0)