diff --git a/wpf-toc.html b/wpf-toc.html index 95420d677..e229cc57b 100644 --- a/wpf-toc.html +++ b/wpf-toc.html @@ -1527,6 +1527,7 @@
  • Disable toolbar items
  • Disable the annotations selection
  • Acquire total number of pages
  • +
  • Change the Current User in PdfViewer
  • Change the color of the Loading Indicator
  • Change the selection color of the annotations
  • Change the text displayed in the loading indicator
  • diff --git a/wpf/Pdf-Viewer/How-To/Changing-the-Current-User.md b/wpf/Pdf-Viewer/How-To/Changing-the-Current-User.md new file mode 100644 index 000000000..541cfa294 --- /dev/null +++ b/wpf/Pdf-Viewer/How-To/Changing-the-Current-User.md @@ -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 %} diff --git a/wpf/Pdf-Viewer/Searching-Text.md b/wpf/Pdf-Viewer/Searching-Text.md index 12be3227a..4e63b7208 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 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 diff --git a/wpf/Tile-View/Data-Binding-Support.md b/wpf/Tile-View/Data-Binding-Support.md index 4caefa051..42a5f9f2a 100644 --- a/wpf/Tile-View/Data-Binding-Support.md +++ b/wpf/Tile-View/Data-Binding-Support.md @@ -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 %}