Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Ug update for Find text method in PDFViewer #1493

Open
wants to merge 47 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
47 commits
Select commit Hold shift + click to select a range
d3e55b7
183389 - UG Documentation For Syncfusion License Key Validation - dev
Mohammed-Abubakkar-Siddiq Jul 23, 2024
3a1907a
183389 - UG Documentation For Syncfusion License Key Validation - dev
Mohammed-Abubakkar-Siddiq Jul 23, 2024
d21179e
CI issue
Mohammed-Abubakkar-Siddiq Jul 23, 2024
19521be
Merge pull request #1446 from syncfusion-content/183389-licenseValida…
christopherhirudayasamy Jul 25, 2024
43b05ef
Merge pull request #1450 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Jul 25, 2024
427e0b3
Merge pull request #1454 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Jul 26, 2024
98dbd91
Merge pull request #1455 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Jul 27, 2024
0c31c08
Merge pull request #1456 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Jul 29, 2024
2d0e523
Merge pull request #1457 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Jul 30, 2024
3c893e5
Merge pull request #1461 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Jul 30, 2024
dffa175
Merge pull request #1462 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Jul 31, 2024
5754cd5
Merge pull request #1463 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Jul 31, 2024
687e2f0
Merge pull request #1464 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
85354d8
Merge pull request #1467 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
d9fe1fa
Merge pull request #1471 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Aug 6, 2024
640e6ef
Improved WPF UG for WPF Template-Studio
Kesavaraman123 Aug 8, 2024
d619f36
image updated
Kesavaraman123 Aug 8, 2024
c53038e
Updated
Kesavaraman123 Aug 8, 2024
0029c61
Resolved Image Error
Kesavaraman123 Aug 9, 2024
efebe01
Updated
Kesavaraman123 Aug 9, 2024
a79c145
Updated
Kesavaraman123 Aug 9, 2024
8464192
Merge pull request #1472 from syncfusion-content/EXT-185908
GanesanRengasamy Aug 9, 2024
5d9201e
update the images for PolarChart in WPF UG
tineshkumarsf4652 Aug 12, 2024
f342653
Merge pull request #1477 from Syncfusion-Content/hotfix/hotfix-v26.2.4
SyncfusionBuild Aug 14, 2024
a4be899
UG updated
Kesavaraman123 Aug 14, 2024
0f83cc7
UG updated
Kesavaraman123 Aug 14, 2024
c1de618
UG updated
Kesavaraman123 Aug 14, 2024
04070f9
Merge pull request #1478 from syncfusion-content/EXT-185908
GanesanRengasamy Aug 14, 2024
a033d5d
UG Modified with Html Table
Kesavaraman123 Aug 20, 2024
3b78bce
Merge pull request #1482 from syncfusion-content/EXT-185908
GanesanRengasamy Aug 20, 2024
01f7e54
update the correct sized output image for PolarChart WPF UG
tineshkumarsf4652 Aug 22, 2024
03f1afb
Modified the gridline style and image size for update the image in Po…
tineshkumarsf4652 Aug 23, 2024
cc6845f
Merge pull request #1474 from syncfusion-content/Task-900945_Update_t…
Saravanan-Madhesh Aug 23, 2024
5821180
905221 -Ug update for Find text method in PDFViewer
YathavakrishnanM Aug 28, 2024
b361794
905221 -Ug update for Find text method in PDFViewer
YathavakrishnanM Aug 28, 2024
a5c2d86
905221 -Feedback changes
YathavakrishnanM Aug 28, 2024
8406c21
Merge pull request #1486 from syncfusion-content/905221
Vikassekar Aug 28, 2024
18626a3
905221 CurrentUser API UG documentation
YathavakrishnanM Aug 28, 2024
6eaac36
905221 Feed back changes
YathavakrishnanM Aug 28, 2024
de607e1
905221 Feed back changes
YathavakrishnanM Aug 28, 2024
79a1294
905221 Feed back changes
YathavakrishnanM Aug 28, 2024
d0d80dc
892307-Update theme support in surface chart documents.
sanjayvikramsf4373 Aug 29, 2024
190bb63
Merge pull request #1488 from syncfusion-content/892307_Update_UG_for…
Jeyasri-Murugan Aug 29, 2024
3dfcd7a
905221 Feed back changes
YathavakrishnanM Aug 29, 2024
2d280ca
Merge pull request #1487 from syncfusion-content/905221
Vikassekar Aug 29, 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
2 changes: 2 additions & 0 deletions wpf-toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
<li><a href="/wpf/licensing/overview">Overview</a></li>
<li><a href="/wpf/licensing/how-to-generate">How to Generate Syncfusion WPF License Key?</a></li>
<li><a href="/wpf/licensing/how-to-register-in-an-application">How to Register Syncfusion License Key in WPF Application?</a></li>
<li><a href="/wpf/licensing/ci-license-validation">How to Validate Syncfusion License Key In CI Services?</a></li>
<li><a href="/wpf/licensing/licensing-errors">Licensing Errors</a></li>
<li>Licensing FAQ
<ul>
Expand Down Expand Up @@ -1527,6 +1528,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
Binary file modified wpf/Charts/SeriesTypes/Series_images/wpf-chart-closed-path.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified wpf/Charts/SeriesTypes/Series_images/wpf-polar-chart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified wpf/Charts/SeriesTypes/Series_images/wpf-radar-chart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions wpf/Control-Dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,6 @@ Syncfusion.Edit.WPF
<td>
Syncfusion.Gantt.WPF <br/>
Syncfusion.SfGrid.WPF <br/>
Syncfusion.Themes.MaterialLight.WPF <br/>
Syncfusion.SfSkinManager.WPF <br/>
Syncfusion.Shared.WPF <br/>
Syncfusion.ProjIO.Base
</td>
Expand Down Expand Up @@ -1669,8 +1667,7 @@ Syncfusion.SfInput.WPF<br/>
Syncfusion.SfBusyIndicator.WPF<br/>
Syncfusion.SfSkinManager.WPF<br/>
Syncfusion.SfShared.WPF <br/>
Syncfusion.Shared.WPF<br/>
Syncfusion.Themes.MaterialLight.WPF
Syncfusion.Shared.WPF
</td>
<td>
Syncfusion.SfScheduler.WPF
Expand Down
5 changes: 1 addition & 4 deletions wpf/Gantt/migration-to-26v-or-higher.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ To facilitate the migration from [`GridTreeControl`](https://help.syncfusion.com
<td>Syncfusion.Grid.WPF<br/>
Syncfusion.GridCommon.WPF
</td>
<td>Syncfusion.SfGrid.WPF<br/>
Syncfusion.SfSkinManager.WPF<br/>
Syncfusion.Themes.MaterialLight.WPF
</td>
<td>Syncfusion.SfGrid.WPF</td>
</tr>
</table>

Expand Down
110 changes: 110 additions & 0 deletions wpf/Licensing/ci-license-validation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
---
layout: post
title: Overview of Syncfusion license validation in CI services - Syncfusion
description: Learn here about how to register Syncfusion license key for Syncfusion application for license validation.
platform: wpf
control: Essential Studio
documentation: ug
---

<style>
#license {
font-size: .88em!important;
margin-top: 1.5em; margin-bottom: 1.5em;
background-color: #fbefca;
padding: 10px 17px 14px
}
</style>


# Syncfusion license key validation in CI services

Syncfusion license key validation in CI services ensures that Syncfusion Essential Studio components are properly licensed during CI processes, Validating the license key at the CI level can prevent licensing errors during deployment. The following section shows how to validate the Syncfusion license key in CI services.

* Download and extract the LicenseKeyValidator.zip utility from the following link: [LicenseKeyValidator](https://s3.amazonaws.com/files2.syncfusion.com/Installs/LicenseKeyValidation/LicenseKeyValidator.zip).

* Open the LicenseKeyValidation.ps1 PowerShell script in a text\code editor.

![LicenseKeyValidation script](licensing-images/license-validation.png)

* Update the parameters in the LicenseKeyValidation.ps1 script file as described below.

**Platform:** Modify the value for /platform: to the actual platform "WPF".

**Version:** Change the value for /version: to the required version (e.g., "26.2.4").

**License Key:** Replace the value for /licensekey: with your actual license key (e.g., "Your License Key").

N> This feature is supported only from the 16.2.0.41 version of the Essential Studio.

## Azure Pipelines (YAML)

* Create a new [User-defined Variable](https://learn.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=azure-devops&tabs=yaml%2Cbatch#user-defined-variables) named `LICENSE_VALIDATION` in Azure Pipeline. Use the path of the LicenseKeyValidation.ps1 script file as a value (e.g., D:\LicenseKeyValidator\LicenseKeyValidation.ps1).

* Integrate the PowerShell task in pipeline and execute the script to validate the license key.

The following example shows the syntax for Windows build agents.

```bash
pool:
vmImage: 'windows-latest'

steps:

- task: PowerShell@2
inputs:
targetType: filePath
filePath: $(LICENSE_VALIDATION) #Or the actual path to the script.

displayName: Syncfusion License Validation
```

## Azure Pipelines (Classic)

* Create a new [User-defined Variable](https://learn.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=azure-devops&tabs=yaml%2Cbatch#user-defined-variables) named `LICENSE_VALIDATION` in Azure Pipeline. Use the path of the LicenseKeyValidation.ps1 script file as a value (e.g., D:\LicenseKeyValidator\LicenseKeyValidation.ps1).

* Include the PowerShell task in pipeline and execute the script to validate the license key.

![LicenseKeyValidation script](licensing-images/license-validation-classic.png)

## GitHub actions

* To execute the script in PowerShell as part of a GitHub Actions workflow, include a step in the configuration file and update the path of the LicenseKeyValidation.ps1 script file (e.g., D:\LicenseKeyValidator\LicenseKeyValidation.ps1).

The following example shows the syntax for validating Syncfusion license key in GitHub actions.

```bash
steps:
- name: Syncfusion License Validation
shell: pwsh
run: |
./path/LicenseKeyValidator/LicenseKeyValidation.ps1
```

## Jenkins

* Create a [Environment Variable](https://www.jenkins.io/doc/pipeline/tour/environment) named 'LICENSE_VALIDATION'. Use Use the path of the LicenseKeyValidation.ps1 script file as a value (e.g., D:\LicenseKeyValidator\LicenseKeyValidation.ps1).

* Include a stage in Jenkins to execute the LicenseKeyValidation.ps1 script in PowerShell.

The following example shows the syntax for validating Syncfusion license key in Jenkins pipeline.

```bash
pipeline {
agent any
environment {
LICENSE_VALIDATION = 'path\\to\\LicenseKeyValidator\\LicenseKeyValidation.ps1'
}
stages {
stage('Syncfusion License Validation') {
steps {
sh 'pwsh ${LICENSE_VALIDATION}'
}
}
}
}
```

## See also

* [Licensing FAQ](https://help.syncfusion.com/common/essential-studio/licensing/overview/)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
10 changes: 10 additions & 0 deletions wpf/Surface-Chart/Getting-Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -516,3 +516,13 @@ The following output is displayed as a result of the above code example.
You can get the complete getting started sample [`here`](https://www.syncfusion.com/downloads/support/directtrac/general/ze/SurfaceChartDemo-1998279060).

![simple surface from Code behind](surface_chart_images/surface_chart_img7.jpeg)

## Theme

WPF SurfaceChart (SfSurfaceChart) supports various built-in themes. Refer to the below links to apply themes for the SfSurfaceChart,

* [Apply theme using SfSkinManager](https://help.syncfusion.com/wpf/themes/skin-manager)

* [Create a custom theme using ThemeStudio](https://help.syncfusion.com/wpf/themes/theme-studio#creating-custom-theme)


Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading