Skip to content

UG update for Find text and CurrentUser #1494

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 15 commits into
base: hotfix/hotfix-v26.2.4
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
427e0b3
Merge pull request #1454 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Jul 26, 2024
0c31c08
Merge pull request #1456 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Jul 29, 2024
3c893e5
Merge pull request #1461 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Jul 30, 2024
5754cd5
Merge pull request #1463 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Jul 31, 2024
ec503b3
Merge pull request #1466 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Aug 1, 2024
8ae34c3
Merge pull request #1470 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Aug 5, 2024
774237c
Merge pull request #1473 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Aug 12, 2024
25c7969
Merge pull request #1479 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Aug 14, 2024
375e67c
Merge pull request #1481 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Aug 19, 2024
0ee2612
WPF-900690 TileView Virtualization content updated
harinath-2699 Aug 22, 2024
d23ddf1
Merge pull request #1483 from syncfusion-content/TiveViewControl-Virt…
durga-muthu Aug 22, 2024
de89bc7
Merge pull request #1484 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Aug 26, 2024
4437489
Merge pull request #1490 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Aug 29, 2024
b53a857
Merge pull request #1492 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Sep 2, 2024
6656188
905221 UG update for find text and Current User API
YathavakrishnanM Sep 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions wpf-toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -1527,6 +1527,7 @@
<li><a href="/wpf/Pdf-Viewer/how-to/disable-toolbar-items">Disable toolbar items</a></li>
<li><a href="/wpf/Pdf-Viewer/how-to/disable-the-annotations-selection">Disable the annotations selection</a></li>
<li><a href="/wpf/Pdf-Viewer/acquiring-total-number-of-pages">Acquire total number of pages</a></li>
<li><a href="/wpf/Pdf-Viewer/how-to/Changing-the-Current-User">Change the Current User in PdfViewer</a></li>
<li><a href="/wpf/Pdf-Viewer/changing-the-color-of-the-loading-indicator">Change the color of the Loading Indicator</a></li>
<li><a href="/wpf/Pdf-Viewer/how-to/change-the-selection-color-of-annotations">Change the selection color of the annotations</a></li>
<li><a href="/wpf/Pdf-Viewer/changing-the-text-displayed-in-the-loading-indicator">Change the text displayed in the loading indicator</a></li>
Expand Down
39 changes: 39 additions & 0 deletions wpf/Pdf-Viewer/How-To/Changing-the-Current-User.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
layout: post
title: Change the Current user in PdfViewer | Syncfusion
description: Learn about how to Change the CurrentUser in Syncfusion WPF Pdf Viewer control using CurrentUser property.
platform: wpf
control: PDF Viewer
documentation: ug
---

# Change the CurrentUser in WPF Pdf Viewer

The PDF Viewer allows you to change the CurrentUser. If the CurrentUser property is not set, it defaults to the system user name. When you set the CurrentUser, the changes will be reflected in the author property of newly added annotations. The following code example illustrates how to set the CurrentUser:

{% tabs %}
{% highlight C# %}

//Initialize PDF Viewer.
PdfViewerControl pdfViewer = new PdfViewerControl();
//Load the PDF.
pdfViewer.Load("Sample.pdf");

//Changing the CurrentUser of document
pdfViewer.CurrentUser = "set the name here";
{% endhighlight %}



{% highlight vbnet %}

'Initialize PDF Viewer.
Private pdfViewer As New PdfViewerControl()
'Load the PDF.
pdfViewer.Load("Sample.pdf")

'Changing the CurrentUser of document
pdfViewer.CurrentUser = "set the name here";

{% endhighlight %}
{% endtabs %}
2 changes: 2 additions & 0 deletions wpf/Pdf-Viewer/Searching-Text.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ private void SearchPrevious_Click(object sender, RoutedEventArgs e)

## Find text method

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’.

### Find and get the bounds of a text
Expand Down
2 changes: 1 addition & 1 deletion wpf/Tile-View/Data-Binding-Support.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ N> [View Sample in GitHub](https://github.com/SyncfusionExamples/syncfusion-wpf-

## Virtualization support

You can enable the UI virtualization support in `TileViewControl`, which allows the users to load large sets of data without affecting loading or scrolling performance by setting the [IsVirtualizing](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.Shared.TileViewControl.html#Syncfusion_Windows_Shared_TileViewControl_IsVirtualizing) property value as `true`. This feature allows users to reduce the loading time of `TileView` items regardless of items count. The default value of `IsVirtualizing` property is `false`.
You can enable the UI virtualization support in `TileViewControl`, which allows the users to load large sets of data without affecting loading or scrolling performance by setting the [IsVirtualizing](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.Shared.TileViewControl.html#Syncfusion_Windows_Shared_TileViewControl_IsVirtualizing) property value as `true`. This feature allows users to reduce the loading time of `TileView` items regardless of items count. The default value of `IsVirtualizing` property is `false`. When using virtualization, it is recommended to use `RowCount` and `ColumnCount` instead of `RowHeight` and `ColumnWidth`. The `RowHeight` and `ColumnWidth` properties are not compatible with virtualization, and the layout will be updated based on the values of `RowCount` and `ColumnCount`.

{% tabs %}
{% highlight XAML %}
Expand Down