From 58211803c257a1312054bffdb7d01dc02fb8044e Mon Sep 17 00:00:00 2001 From: YathavakrishnanM Date: Wed, 28 Aug 2024 13:22:09 +0530 Subject: [PATCH 1/3] 905221 -Ug update for Find text method in PDFViewer --- wpf/Pdf-Viewer/Searching-Text.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wpf/Pdf-Viewer/Searching-Text.md b/wpf/Pdf-Viewer/Searching-Text.md index 12be3227a..bfdf686e2 100644 --- a/wpf/Pdf-Viewer/Searching-Text.md +++ b/wpf/Pdf-Viewer/Searching-Text.md @@ -79,6 +79,8 @@ private void SearchPrevious_Click(object sender, RoutedEventArgs e) ## Find text method +N> From version 21.1.x,a reference to the Syncfusion.PdfToImageConverter.Base assembly is necessary for PdfViewer FindText methods.We have updated the PDFBase approach to PdfToImageConverter approach for better performance. + The [FindText](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_PdfViewer_PdfViewerControl_FindText_System_String_System_Collections_Generic_Dictionary_System_Int32_System_Collections_Generic_List_System_Drawing_RectangleF____) method allows the user to search a particular text and get its bounds after loading the document in the [PdfViewerControl](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.PdfViewer.PdfViewerControl.html). The [FindText](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_PdfViewer_PdfViewerControl_FindText_System_String_System_Collections_Generic_Dictionary_System_Int32_System_Collections_Generic_List_System_Drawing_RectangleF____) method returns ‘true’ when the given text is found in the document; else, it returns ‘false’. ### Find and get the bounds of a text From b361794ee49d71bca1ecf34d8df735ef915ebcd2 Mon Sep 17 00:00:00 2001 From: YathavakrishnanM Date: Wed, 28 Aug 2024 13:39:58 +0530 Subject: [PATCH 2/3] 905221 -Ug update for Find text method in PDFViewer --- wpf/Pdf-Viewer/Searching-Text.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpf/Pdf-Viewer/Searching-Text.md b/wpf/Pdf-Viewer/Searching-Text.md index bfdf686e2..197e54fbe 100644 --- a/wpf/Pdf-Viewer/Searching-Text.md +++ b/wpf/Pdf-Viewer/Searching-Text.md @@ -79,7 +79,7 @@ private void SearchPrevious_Click(object sender, RoutedEventArgs e) ## Find text method -N> From version 21.1.x,a reference to the Syncfusion.PdfToImageConverter.Base assembly is necessary for PdfViewer FindText methods.We have updated the PDFBase approach to PdfToImageConverter approach for better performance. +N> From version 27.1.x, we have updated our default text extraction engine to PDFium for extracting text information from PDF documents. Based on the text information, we perform FindText in PDF documents. Please refer to the [link](https://help.syncfusion.com/wpf/pdf-viewer/text-extraction-engines) for more details. The [FindText](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_PdfViewer_PdfViewerControl_FindText_System_String_System_Collections_Generic_Dictionary_System_Int32_System_Collections_Generic_List_System_Drawing_RectangleF____) method allows the user to search a particular text and get its bounds after loading the document in the [PdfViewerControl](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.PdfViewer.PdfViewerControl.html). The [FindText](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_PdfViewer_PdfViewerControl_FindText_System_String_System_Collections_Generic_Dictionary_System_Int32_System_Collections_Generic_List_System_Drawing_RectangleF____) method returns ‘true’ when the given text is found in the document; else, it returns ‘false’. From a5c2d86140ea6cda1cdee2f1bec23c8c2e7dc1e5 Mon Sep 17 00:00:00 2001 From: YathavakrishnanM Date: Wed, 28 Aug 2024 13:56:36 +0530 Subject: [PATCH 3/3] 905221 -Feedback changes --- wpf/Pdf-Viewer/Searching-Text.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpf/Pdf-Viewer/Searching-Text.md b/wpf/Pdf-Viewer/Searching-Text.md index 197e54fbe..4e63b7208 100644 --- a/wpf/Pdf-Viewer/Searching-Text.md +++ b/wpf/Pdf-Viewer/Searching-Text.md @@ -79,7 +79,7 @@ private void SearchPrevious_Click(object sender, RoutedEventArgs e) ## Find text method -N> From version 27.1.x, we have updated our default text extraction engine to PDFium for extracting text information from PDF documents. Based on the text information, we perform FindText in PDF documents. Please refer to the [link](https://help.syncfusion.com/wpf/pdf-viewer/text-extraction-engines) for more details. +N> From version 27.1.x, we have used text extraction engine for find text from PDF documents. By default text extraction engine uses PDFium for extracting text information. Please refer to the [link](https://help.syncfusion.com/wpf/pdf-viewer/text-extraction-engines) for more details. The [FindText](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_PdfViewer_PdfViewerControl_FindText_System_String_System_Collections_Generic_Dictionary_System_Int32_System_Collections_Generic_List_System_Drawing_RectangleF____) method allows the user to search a particular text and get its bounds after loading the document in the [PdfViewerControl](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.PdfViewer.PdfViewerControl.html). The [FindText](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_PdfViewer_PdfViewerControl_FindText_System_String_System_Collections_Generic_Dictionary_System_Int32_System_Collections_Generic_List_System_Drawing_RectangleF____) method returns ‘true’ when the given text is found in the document; else, it returns ‘false’.