Skip to content

Commit 3245c65

Browse files
authored
Merge branch 'master' into new-kb-convert-pdf-table-to-datatable-5e4bf5fc63d641a7a10773e99f4b302a
2 parents 4126686 + 08aadeb commit 3245c65

File tree

116 files changed

+2405
-723
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+2405
-723
lines changed

_config.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ navigation:
1515
release-notes:
1616
title: Release Notes
1717
position: 110
18+
release-notes/2025:
19+
title: '2025'
20+
position: 99
21+
release-notes/2024:
22+
title: '2024'
23+
position: 100
1824
installation-and-deployment:
1925
title: Installation and Deployment
2026
position: 4
@@ -219,6 +225,9 @@ navigation:
219225
libraries/radpdfprocessing/formats-and-conversion:
220226
title: Formats and Conversion
221227
position: 8
228+
libraries/radpdfprocessing/formats-and-conversion/ocr:
229+
title: OCR
230+
position: 2
222231
libraries/radpdfprocessing/formats-and-conversion/pdf:
223232
title: Pdf
224233
position: 0
@@ -249,7 +258,7 @@ navigation:
249258
libraries/radziplibrary/features:
250259
title: Features
251260
position: 5
252-
261+
253262

254263
knowledge-base:
255264
position: 100
24 KB
Loading
17.2 KB
Loading

distribution-and-licensing/license-agreement.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,7 @@ __UI for Xamarin__: [https://www.telerik.com/purchase/license-agreement/ui-for-x
2525

2626
__UI for WinUI__: [https://www.telerik.com/purchase/license-agreement/winui](https://www.telerik.com/purchase/license-agreement/winui?_ga=2.104003584.145105266.1615285037-1571667030.1570715481)
2727

28+
## See Also
29+
30+
* [Setting Up Document Processing Libraries License Key]({%slug license-key%})
31+
* [Redistributing Telerik Document Processing]({%slug installation-deploying-telerik-document-processing%})
Lines changed: 201 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,201 @@
1+
---
2+
title: Setting Up Document Processing Libraries License Key
3+
page_title: Setting Up Document Processing Libraries License Key
4+
slug: license-key
5+
tags: license,key, document, processing
6+
published: True
7+
position: 2
8+
---
9+
10+
# Setting Up Your Telerik Document Processing Libraries License Key
11+
Starting with the Q1 2025 release, the libraries from Telerik Document Processing require activation through a license key (trial or commercial). This article describes how to download, install, and update your personal license key.
12+
13+
To install the license key and activate the libraries:
14+
15+
1. [Download the license key](#downloading-the-license-key).
16+
1. [Install or update the license key file on your system or in your project](#installing-or-updating-your-license-key).
17+
18+
The implementation of the 2025 licensing requirements will occur in two phases:
19+
20+
>important Please install **<PackageReference Include="Telerik.Licensing" Version="1.*" />**.
21+
22+
- Phase 1 - Starting with the 2025 Q1 release, a missing or invalid license causes [warnings during build](#license-activation-errors-and-warnings). The commercial distributions of the libraries do not exhibit any functional restrictions.
23+
- Phase 2 - Starting with the 2025 Q2 release, a missing or invalid license will result in [build errors and run-time indicators](#license-activation-errors-and-warnings), such as watermarks and banners.
24+
25+
Note that future updates of the product may restrict or disable some features when no valid license is present. You can send us feedback through the Contact Us form or by [opening a support ticket](https://www.telerik.com/account/support-center/contact-us?utm_source=licensing&utm_medium=console&utm_campaign=no_references).
26+
27+
## Downloading the License Key
28+
29+
The Telerik Document Processing Libraries are only distributed as a part of several Telerik bundles and are licensed only according to the terms of the bundle under which they are obtained. In the [License Keys](https://www.telerik.com/account/your-licenses/license-keys) article you can find specific license key instruction for each respective bundle.
30+
31+
To download a license key, you must have either a developer license or a trial license. If you are new, you can sign up for a [free trial](https://www.telerik.com/account/trials) first, and then follow the steps below.
32+
33+
1. Go to the [License Keys](https://www.telerik.com/account/your-licenses/license-keys) page in your Telerik account.
34+
1. Click the **Download License Key** button.
35+
36+
![Download License Key](images/download-license-key.png)
37+
38+
The [Progress Control Panel](https://www.telerik.com/download-trial-file/v2/control-panel), automated MSI installer, and the Visual Studio Extensions (if available) of each product will automatically download and store your license key in your home directory. This makes it available for all projects that you develop on your local machine.
39+
40+
## Installing or Updating Your License Key
41+
Whenever you purchase a new license or renew an existing one, always [download](#downloading-the-license-key) and install a new license key. The new license key includes information about all previous license purchases. The procedure for the installation of a new license key and update of a license key is the same:
42+
43+
1. Copy the [downloaded](#downloading-the-license-key) telerik-license.txt license key file to your home directory. This makes the license key available to all projects that you develop on your computer.
44+
1. For Windows: %AppData%\Telerik\telerik.license.txt
45+
1. For Mac/Linux: ~/.telerik/telerik.license.txt
46+
Alternatively, copy the telerik-license.txt license key file to the root folder of your project. This makes the license key available only to this project. Do not commit the file to source control as this is your personal license key.
47+
1. Add the Telerik.Licensing NuGet package as a project dependency. This package will automatically locate the license file at build time. If your project doesn’t use NuGet packages, see the next document section.
48+
49+
### Installing a License Key in Projects without NuGet References
50+
If you’re not using NuGet packages in your project, add the license as a code snippet:
51+
52+
1. Go to the [License Keys](https://www.telerik.com/account/your-licenses/license-keys) page in your Telerik account.
53+
1. On the corresponding product row, click the **View key** link in the **SCRIPT KEY** column.
54+
![Download Product Key](images/download-product-key.png)
55+
1. Copy the C# code snippet into a new file, for example, TelerikLicense.cs.
56+
1. Add the TelerikLicense.cs file to your project.
57+
58+
Do not publish the license key code snippet in publicly accessible repositories. This is your personal license key.
59+
60+
-----
61+
62+
## Adding the License Key to CI Services
63+
This article describes how to set up and activate your [license key](https://www.telerik.com/account/your-licenses/license-keys) across a few popular CI services by using environment variables.
64+
65+
When working with CI/CD platforms, always add the Telerik.Licensing NuGet package as a project dependency. This package activates the product libraries at build time by using the provided license key.
66+
67+
The license activation process in a CI/CD environment involves the following steps:
68+
69+
1. [Download](https://www.telerik.com/account/your-licenses/license-keys) a license key from your Telerik account.
70+
2. Add the Telerik.Licensing NuGet package as a project dependency:\<PackageReference Include="Telerik.Licensing" Version="1.\*" /\>
71+
2. [Create an environment variable](#creating-an-environment-variable) and add your license key as a value.
72+
73+
### Creating an Environment Variable
74+
The recommended approach for providing your license key to the Telerik.Licensing NuGet package is to use environment variables. Each CI/CD platform has a different process for setting environment variables and this article lists only some of the most popular examples.
75+
76+
#### Azure Pipelines (YAML)
77+
1. Create a new [User-defined Variable](https://docs.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=azure-devops&tabs=yaml%2Cbatch) named TELERIK\_LICENSE.
78+
1. Paste the contents of the license key file as a value.
79+
80+
#### Azure Pipelines (Classic)
81+
1. Create a new [user-defined variable](https://docs.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=azure-devops&tabs=classic%2Cbatch) named TELERIK\_LICENSE.
82+
1. Paste the contents of the license key file as a value.
83+
84+
#### GitHub Actions
85+
1. Create a new [Repository Secret](https://docs.github.com/en/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository) or an [Organization Secret](https://docs.github.com/en/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-an-organization).
86+
1. Set the name of the secret to TELERIK\_LICENSE and paste the contents of the license file as a value.
87+
1. After running npm install or yarn, add a build step to activate the license:
88+
89+
```yaml
90+
env:
91+
TELERIK_LICENSE: ${{ secrets.TELERIK_LICENSE }}
92+
```
93+
-----
94+
## Frequently Asked Questions
95+
This article lists the answers to the most frequently asked questions (FAQs) about working with the license key.
96+
### [2025 Q2] Will the product function with an expired license key?
97+
This depends on your license type.
98+
99+
- **Perpetual licenses** will continue to function normally with an expired license key. However, the following will happen if you update or install a package version which is released after the expiration date of the license:
100+
- A watermark appears on application startup.
101+
- A modal dialog appears on application startup.
102+
- A warning message is logged in the build log.
103+
See the [Invalid License]() section for more information.
104+
- **Subscription licenses** will prevent you from building the application with an expired license key. Deployed applications will continue to function normally.
105+
- **Trial licenses** will prevent you from building or running the application. The following will happen if you try to build or run the application:
106+
- A watermark appears on application startup.
107+
- A modal dialog appears on application startup.
108+
- A warning message similar to the following is logged in the build log.
109+
See the [Invalid License]() section for more information.
110+
111+
Note that future updates of the library may restrict or disable some features when no valid license is present.
112+
### I updated the version of the product packages in my project and the invalid license errors have appeared. What is the cause of this behavior?
113+
If this happens, the possible reason is that the end date of the license activated in your application is before the release date of the newly installed product. To fix this issue:
114+
115+
1. [Download a new license key](#downloading-the-license-key).
116+
1. [Activate the new license key](#installing-or-updating-your-license-key) in your project.
117+
118+
### Can I use the same license key in multiple builds?
119+
You can use your personal license key in multiple pipelines, builds, and environments.
120+
121+
However, each individual developer must use a unique personal license key.
122+
### Does the license key expire?
123+
Yes, the license key expires at the end of your support subscription:
124+
125+
- For trial users, this is at the end of your 30-day trial.
126+
- For commercial license holders, this is when your subscription term expires.
127+
128+
You will need to obtain and install a new license key after starting a trial, renewing a license, or upgrading a license.
129+
130+
An expired perpetual license key is valid for all product versions published before its expiration date.
131+
### Do I need an Internet connection to activate the license?
132+
No, the license activation and validation are performed entirely offline.
133+
134+
The license is not validated with our services at any point in the project lifecycle.
135+
### Do I have to add the license key to source control?
136+
No, you do not have to add the telerik-license.txt license key file or its contents to source control.
137+
138+
Build servers must use the TELERIK\_LICENSE environment variable described in [Adding the License Key to CI Services](#adding-the-license-key-to-ci-services).
139+
140+
Do not store the license key in plaintext, for example, in a GitHub Actions Workflow definition.
141+
### What happens if both the environment variable and the license key file are present?
142+
If both the TELERIK\_LICENSE environment variable and the telerik-license.txt file are present, then the environment variable will be used.
143+
144+
To enforce the use of the license key file, unset the environment variable.
145+
### My team has more than one license holder. Which key do we have to use?
146+
To activate the product, you can use any of the keys associated with your subscriptions.
147+
### Are earlier versions of the product affected?
148+
No, versions released prior to Jan 2025 do not require a license key.
149+
### What happens if I make a change to non-Telerik parts of the code after the subscription expires?
150+
This depends on your license:
151+
152+
- If you have a perpetual license, you can build the application with the Telerik libraries.
153+
- If you have an expired subscription license, the build will fail.
154+
155+
-----
156+
## License Activation Errors and Warnings
157+
Starting with the 2025 Q1 release, using a product without a license or with an invalid license causes specific license warnings and errors. This article defines what an invalid license is, explains what is causing it, and describes the related license warnings and errors.
158+
159+
The implementation of the 2025 product licensing requirements will occur in two phases:
160+
161+
- Phase 1 - Starting with the 2025 Q1 release, a missing or invalid license logs a warning in the build log.
162+
- Phase 2 - Starting with the 2025 Q2 release, a missing, expired, or invalid license will result in:
163+
- A watermark appearing on application startup.
164+
- A modal dialog appearing on application startup. Clicking the **OK** button of the dialog closes the dialog and removes the banner until the next application startup.
165+
- A warning message appearing in the build log:
166+
167+
### Invalid License
168+
An invalid license can be caused by any of the following:
169+
170+
- Using an expired subscription license-subscription licenses expire at the end of the subscription term.
171+
- Using a perpetual license for product versions released outside the validity period of your license.
172+
- Using an expired trial license.
173+
- A missing license for the product.
174+
- Not installing a license key in your application.
175+
- Not updating the license key after renewing your product license.
176+
177+
### License Warnings and Errors
178+
Using the product in a project with an expired or missing license, the Telerik.Licensing build task will indicate the following errors:
179+
180+
- No license key is detected - [Install a license key](#installing-or-updating-your-license-key) to activate the libraries and remove the error message.
181+
- Invalid license key - [Download a new license key](#downloading-the-license-key) and install it to activate the libraries and remove the error message.
182+
183+
In addition, the following conditions will be logged:
184+
185+
|**Condition**|**Solution**|
186+
|----|----|
187+
|Your subscription license has expired.|Renew your subscription and [download a new license key](#downloading-the-license-key).|
188+
|Your perpetual license is invalid.|You are using a product version outside the validity period of your perpetual license. To resolve this, do either of the following: <br> - Purchase a license for the current product version, then download and install a new key. <br> - Downgrade to a version covered by your perpetual license, as specified in the message. |
189+
|Your trial license has expired.|Purchase a commercial license to continue using the product.|
190+
|Your license is not valid for the detected product(s).|Review the purchase options for the listed products.<br>Alternatively, remove the references to the listed packages from package.json.|
191+
192+
Starting with the 2025 Q2 release of the product in May 2025, all conditions above will be treated as errors.
193+
194+
## See Also
195+
196+
* [License Agreement]({%slug license-agreement%})
197+
* [Redistributing Telerik Document Processing]({%slug installation-deploying-telerik-document-processing%})
198+
* [Unable to find package Telerik.Licensing]({%slug dpl-package-update-failure-license%})
199+
* [Handling License Key File Name and Environment Variable Name Changes in the 2025 Q1 Release]({%slug handling-license-file-name-changes%})
200+
* [Telerik.Licensing NuGet package is not available on the Telerik NuGet feed]({%slug dpl-telerik-licensing-nuget-feed%})
201+

distribution-and-licensing/trial-license-limitations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ In PDF and flow formats, this is a message at the top of the document, whereas f
2222
# See Also
2323

2424
* [How to Upgrade Trial to Licensed Version]({%slug upgrade-trial-to-licensed-version%})
25+
* [Setting Up Document Processing Libraries License Key]({%slug license-key%})
2526

getting-started/Installation/installing-on-your-computer.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ position: 5
1010

1111
# Installing on Your Computer
1212

13+
>important Please install **&lt;PackageReference Include="Telerik.Licensing" Version="1.*" /&gt;**.
14+
1315
Telerik Document Processing is part of several Telerik bundles and is installed following the steps for installing the suite with which you've obtained the product.
1416

1517
>Starting from Q1 2016, the Document Processing assemblies have an assembly version which may differ from the assembly version of the other assemblies in the particular suite.

getting-started/Installation/nuget-packages.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ The following list represents the available NuGet packages for the Document Proc
4343

4444
* __Telerik.Windows.Documents.Core:__ The main NuGet package for the Telerik Document Processing libraries. Required when you plan to use the library.
4545
* __Telerik.Windows.Documents.Fixed:__ The package is required when processing `PDF` documents.
46+
* __Telerik.Windows.Documents.Fixed.FormatProviders.Ocr:__ This assembly is needed for the [Optical Character Recognition (OCR)]({%slug radpdfprocessing-formats-and-conversion-ocr-ocrformatprovider%}) functionality.
47+
* __Telerik.Windows.Documents.Tesseract.Ocr:__ This assembly is needed for the [Optical Character Recognition (OCR)]({%slug radpdfprocessing-formats-and-conversion-ocr-ocrformatprovider%}) functionality.
4648
* __Telerik.Windows.Documents.CMapUtils:__ Provides a default implementation for getting the data of a predefined CMap table by a given name.
4749
* __Telerik.Windows.Documents.Flow:__ The package is part of the WordsProcessing library. Required for processing `HTML`, `DOCX`, `RTF`, and `TXT` documents.
4850
* __Telerik.Windows.Documents.DrawingML:__ Part of the WordsProcessing library. It is needed for working with shapes inside the documents.
@@ -61,6 +63,8 @@ The following list represents the available NuGet packages for the Document Proc
6163

6264
* __Telerik.Documents.Core:__ The main NuGet package from the Telerik Document Processing libraries. Required when you plan to use the library.
6365
* __Telerik.Documents.Fixed:__ The package is required when processing `PDF` documents.
66+
* __Telerik.Documents.Fixed.FormatProviders.Ocr:__ This assembly is needed for the [Optical Character Recognition (OCR)]({%slug radpdfprocessing-formats-and-conversion-ocr-ocrformatprovider%}) functionality.
67+
* __Telerik.Documents.Tesseract.Ocr:__ This assembly is needed for the [Optical Character Recognition (OCR)]({%slug radpdfprocessing-formats-and-conversion-ocr-ocrformatprovider%}) functionality.
6468
* __Telerik.Documents.ImageUtils:__ This package is required when exporting to `PDF` format a document containing images different than Jpeg and Jpeg2000 or ImageQuality different than High. For more information check the [PdfProcessing`s Cross-Platform Support]({%slug radpdfprocessing-cross-platform%}) article.
6569
* __Telerik.Documents.CMapUtils:__ Provides a default implementation for getting the data of a predefined CMap table by a given name.
6670
* __Telerik.Documents.Flow:__ The package is part of the Words Processing Library. Required for processing `HTML`, `DOCX`, `RTF`, and `TXT` documents.

getting-started/first-steps.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ The Telerik Document Processing libraries that we use in this guide are UI-indep
1515

1616
## Step 1: Installing on Your Computer
1717

18+
>important Please install **&lt;PackageReference Include="Telerik.Licensing" Version="1.*" /&gt;**.
19+
1820
Since we distribute Telerik Document Processing libraries as an addition to several Telerik UI component bundles, chances are that the libraries are already installed on your system. In this case, all you need is to locate them. The table below provides links to the installation instructions for each of the Telerik UI component suites that give you access to the Telerik Document Processing libraries. If the standard installation of your Telerik UI component suite includes the Document Processing assemblies, the table also shows their default location.
1921

2022
>tipRegardless of the Telerik UI components suite that you use, you can always get the Document Processing assemblies as NuGet packages from the [Telerik NuGet server]({%slug installation-nuget-packages%}).

0 commit comments

Comments
 (0)