Skip to content

Commit 6441deb

Browse files
Merge branch 'master' into yoan/docs-feedback
2 parents d1950ca + f9e90fd commit 6441deb

File tree

166 files changed

+4697
-241
lines changed

Some content is hidden

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

166 files changed

+4697
-241
lines changed

getting-started/Installation/install-nuget-packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ This article describes how you can install the Document Processing Libraries usi
4646

4747
Before you can install Telerik NuGet packages, you must configure the Telerik NuGet server (https://nuget.telerik.com/v3/index.json) as a package source in Visual Studio:
4848

49-
>caution The old **https://nuget.telerik.com/nuget** server is deprecated and we encourage our clients to switch to the v3 API. The new v3 API is faster, lighter, and reduces the number of requests from NuGet clients.
49+
>caution The old **https://nuget.telerik.com/nuget** server is deprecated and we encourage our clients to switch to the v3 API. The new v3 API is faster, lighter, and reduces the number of requests from NuGet clients. The **NuGet v2** server at https://nuget.telerik.com/nuget will be sunset in **November 2024**. The new v3 protocol offers faster package searches and restores, improved security, and more reliable infrastructure. To redirect your feed to the NuGet v3 protocol, all you have to do is to change your NuGet package source URL to https://nuget.telerik.com/v3/index.json.
5050
5151
1\. In the Visual Studio Solution Explorer, right-click a Project, select **Manage NuGet Packages...**, and then select the **Settings** icon:
5252

getting-started/Installation/nuget-packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Telerik provides NuGet packages with the assemblies for all five Document Proces
1414

1515
If your workflow relies on NuGet for package management, you can take advantage of the packages that we describe in this article. There is no need to download and install the Document Processing libraries by using other methods.
1616

17-
> The improved Telerik NuGet v3 is now available at https://nuget.telerik.com/v3/index.json. The new v3 API is faster, lighter, and reduces the number of requests from NuGet clients. The old https://nuget.telerik.com/nuget server will be deprecated and we encourage our clients to switch to the v3 API and use https://nuget.telerik.com/v3/index.json to access it.
17+
>caution The old **https://nuget.telerik.com/nuget** server is deprecated and we encourage our clients to switch to the v3 API. The new v3 API is faster, lighter, and reduces the number of requests from NuGet clients. The **NuGet v2** server at https://nuget.telerik.com/nuget will be sunset in **November 2024**. The new v3 protocol offers faster package searches and restores, improved security, and more reliable infrastructure. To redirect your feed to the NuGet v3 protocol, all you have to do is to change your NuGet package source URL to https://nuget.telerik.com/v3/index.json.
1818
1919
#### This article contains the following sections:
2020

getting-started/Installation/system-requirements.md

Lines changed: 18 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -12,53 +12,47 @@ position: 4
1212

1313
This topic describes the system requirements needed by Telerik Document Processing.
1414

15-
1615
## Supported Operating Systems
1716

18-
Windows 10, or later
19-
20-
Windows 8, 8.1
21-
22-
Windows 7
17+
* Windows 11 or later
2318

24-
Windows Vista
19+
* Windows 10
2520

26-
Windows Server 2008
21+
* Windows 8.1*
2722

28-
Windows Server 2008 R2
23+
* Windows 7 SP1*
2924

30-
Windows XP SP2, SP3
25+
* [Windows Server 2008 R2 SP1](https://learn.microsoft.com/en-us/dotnet/framework/get-started/system-requirements#server-operating-systems)
3126

32-
Windows 2000 SP4 + KB 891861*
27+
* [Windows Server 2008 SP2*](https://learn.microsoft.com/en-us/dotnet/framework/get-started/system-requirements#server-operating-systems)
3328

34-
Windows Server 2003 (excluding IA-64)
29+
* Windows 2000 SP4 + KB 891861*
3530

31+
* [Windows Server 2003 (excluding IA-64)](https://learn.microsoft.com/en-us/dotnet/framework/get-started/system-requirements#server-operating-systems)
3632

37-
>You could check [here](http://msdn.microsoft.com/en-us/library/8z6watww%28v=vs.100%29.aspx) for a complete list of the supported operating systems.
38-
33+
>*Check [here](https://learn.microsoft.com/en-us/dotnet/framework/migration-guide/versions-and-dependencies?source=recommendations#net-framework-462) for a complete list of the supported operating systems.
3934
4035
## Development Environment
4136

42-
4337
Supported Development Tools and Environments:
44-
4538

46-
* __.NET Framework 4.0, or later__ - download from [here](https://dotnet.microsoft.com/download/dotnet-framework).
47-
48-
* __.NET Core 3.0, or later__ - download from [here](https://dotnet.microsoft.com/download/dotnet-core).
49-
50-
* __.NET 5.0, or later__ - download from [here](https://dotnet.microsoft.com/download/dotnet)
39+
* **.NET Framework**
40+
* [.NET 4.6.2](https://dotnet.microsoft.com/en-us/download/dotnet-framework/net462) to [.NET 4.8](https://dotnet.microsoft.com/en-us/download/dotnet-framework/net48)
41+
* [.NET 6](https://dotnet.microsoft.com/download/dotnet/6.0)
42+
* [.NET 7](https://dotnet.microsoft.com/download/dotnet/7.0)
43+
* [.NET 8](https://dotnet.microsoft.com/download/dotnet/8.0)
44+
45+
* **.NET Standard 2.0**
5146

5247
* __Microsoft Visual Studio 2010/2012/2013/2015/2019/2022__ - download from [here](http://www.microsoft.com/visualstudio/eng/downloads).
53-
54-
48+
5549
## Hardware Environment
5650

5751
* Processor: x86 or x64 1 GHz Pentium processor or equivalent (minimum); 1 GHz Pentium processor or equivalent (recommended)
5852

5953
* RAM: 512 MB (minimum); 1 GB (recommended)
6054

61-
* Hard disk: up to 1.5 GB of available space may be required
55+
* Hard disk: up to 4.5 GB of available space may be required
6256

6357

6458
## See Also

getting-started/first-steps.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ Since we distribute Telerik Document Processing libraries as an addition to seve
1919

2020
>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%}).
2121
22-
> The improved Telerik NuGet v3 is now available at https://nuget.telerik.com/v3/index.json. The new v3 API is faster, lighter, and reduces the number of requests from NuGet clients. The old https://nuget.telerik.com/nuget server will be deprecated and we encourage our clients to switch to the v3 API and use https://nuget.telerik.com/v3/index.json to access it.
23-
24-
22+
>caution The old **https://nuget.telerik.com/nuget** server is deprecated and we encourage our clients to switch to the v3 API. The new v3 API is faster, lighter, and reduces the number of requests from NuGet clients. The **NuGet v2** server at https://nuget.telerik.com/nuget will be sunset in **November 2024**. The new v3 protocol offers faster package searches and restores, improved security, and more reliable infrastructure. To redirect your feed to the NuGet v3 protocol, all you have to do is to change your NuGet package source URL to https://nuget.telerik.com/v3/index.json.
2523
2624
| UI Components suite | Installation instructions | Default location of the Document Processing assemblies |
2725
|--------------------|---------------------------|------------------------------------------------|

getting-started/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The following tables list all Telerik Document Processing assemblies for the dif
5656
| **Telerik.Windows.Zip.Extensions.dll** | Extends **Telerik.Windows.Zip** assembly with additional helper methods ([Zip Extensions]({%slug radziplibrary-zipextensions%})). |
5757

5858

59-
>The libraries support .NET 4 and later. .NET Standard-compatible binaries are available as well. The assemblies for .NET Standard don't include 'Windows' in their names.
59+
>The libraries support .NET 4.6.2 and later. .NET Standard-compatible binaries are available as well. The assemblies for .NET Standard don't include 'Windows' in their names.
6060
6161
## Getting Started Resources by Library
6262

images/dpl-ninja.png

3.81 KB
Loading

introduction.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,18 @@ The Telerik Document Processing libraries support the following file formats:
5555

5656
## Available Assemblies
5757

58-
>The Telerik Document Processing libraries are available in **.NET Framework** and **.NET Standard** (**.NET Core**) compatible versions. You can download the assemblies of these libraries from the following products:
58+
>The Telerik Document Processing libraries are available in **.NET Framework**, **.NET Core/.NET 6/.NET 8** (or newer) for Windows and **.NET Standard** compatible versions. You can download the assemblies of these libraries from the following products:
5959
>
6060
61-
|.NET Framework Products|.NET Standard/Core/5+ Products|
62-
|----|----|
63-
|[UI for ASP.NET MVC](https://www.telerik.com/aspnet-mvc)|[UI for Xamarin](https://www.telerik.com/xamarin-ui)|
64-
|[UI for ASP.NET AJAX](https://www.telerik.com/products/aspnet-ajax.aspx)|[UI for ASP.NET Core](https://www.telerik.com/aspnet-core-ui)|
65-
|[UI for WPF](https://www.telerik.com/products/wpf/overview.aspx)|[UI for Blazor](https://www.telerik.com/blazor-ui)|
66-
|[UI for WinForms](https://www.telerik.com/products/winforms.aspx)|[UI for WinUI](https://www.telerik.com/winui)|
67-
|[UI for Silverlight (discontinued)](https://www.telerik.com/products/silverlight/overview.aspx)|[UI for .NET MAUI](https://www.telerik.com/maui-ui)|
61+
|.NET Framework Products|.NET Core/.NET 6/ .NET 8 (or newer) *for Windows*|.NET Standard|
62+
|----|----|----|
63+
|[UI for ASP.NET MVC](https://www.telerik.com/aspnet-mvc)||[UI for Xamarin](https://www.telerik.com/xamarin-ui)|
64+
|[UI for ASP.NET AJAX](https://www.telerik.com/products/aspnet-ajax.aspx)||[UI for ASP.NET Core](https://www.telerik.com/aspnet-core-ui)|
65+
|[UI for WPF](https://www.telerik.com/products/wpf/overview.aspx)|[UI for WPF](https://www.telerik.com/products/wpf/overview.aspx)|[UI for Blazor](https://www.telerik.com/blazor-ui)|
66+
|[UI for WinForms](https://www.telerik.com/products/winforms.aspx)|[UI for WinForms](https://www.telerik.com/products/winforms.aspx)|[UI for WinUI](https://www.telerik.com/winui)|
67+
|[UI for Silverlight (discontinued)](https://www.telerik.com/products/silverlight/overview.aspx)||[UI for .NET MAUI](https://www.telerik.com/maui-ui)|
6868

69-
Both versions are available as [NuGet packages]({%slug installation-nuget-packages%}) but with different names. The assemblies for .NET Standard do not contain the word Windows in their name.
69+
All versions are available as [NuGet packages]({%slug installation-nuget-packages%}). The assemblies/packages for .NET Standard do not contain the word *Windows* in their name.
7070

7171
## Getting Started
7272

@@ -96,13 +96,14 @@ Telerik Document Processing is a commercial library. You are welcome to explore
9696

9797
For any issues you might encounter while working with Telerik Document Processing, use any of the available support channels:
9898

99-
* License holders and active trialists can take advantage of our outstanding customer support delivered by the developers building the library. To submit a support ticket, use the [dedicated support system](https://www.telerik.com/account/support-tickets?pid=1886&supcId=daf62541-57e0-b84c-8b5e-da9851c61873&fbp=false).
99+
* License holders and active trialists can take advantage of our outstanding customer support delivered by the developers building the library. To submit a support ticket, use the [dedicated support system](https://www.telerik.com/account/support-tickets?pid=1886&supcId=daf62541-57e0-b84c-8b5e-da9851c61873&fbp=false). Learn [How to Get the Most Out of the Telerik Document Processing Support]({%slug submit-support-tickets%}).
100100
* Our [forums](https://www.telerik.com/forums/telerik-document-processing) are part of the free support you can get from the community and from the team on all kinds of general issues.
101101
* Our [feedback portal](https://feedback.telerik.com/document-processing) provides information on the features/bugs in discussion and also the planned ones for release.
102102
* You may still need a tailor-made solution for your project. In such cases, go straight to [Progress Services](https://www.progress.com/services).
103103

104104
## Learning Resources
105105

106+
* [Online Demo application](https://demos.telerik.com/document-processing)
106107
* [Knowledge Base](https://docs.telerik.com/devtools/document-processing/knowledge-base)
107108
* [Virtual Classroom](https://www.telerik.com/account/support/virtual-classroom)
108109

@@ -128,3 +129,5 @@ Thank you for your contribution to the Telerik Document Processing Libraries' Do
128129

129130
- [Document Processing Libraries Overview]({%slug getting-started%})
130131
- [First Steps in using Telerik Document Processing]({%slug getting-started-first-steps%})
132+
- [What Versions of Document Processing Libraries are Distributed with the Telerik Products]({%slug distribute-telerik-document-processing-libraries-net-versions%})
133+
- [How to Get the Most Out of the Telerik Document Processing Support]({%slug submit-support-tickets%})
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
title: Adding a Barcode to a PDF Document using PdfProcessing and the WinForms BarcodeView
3+
description: Learn how to generate a barcode and incorporate it into a PDF document using Telerik products.
4+
type: how-to
5+
page_title: How to Add a Barcode to a PDF with PdfProcessing and the WinForms BarcodeView
6+
slug: add-barcode-to-pdf-telerik
7+
tags: radpdfprocessing, document processing, barcode, pdf, telerik reporting, winforms, barcodeview
8+
res_type: kb
9+
ticketid: 1657503
10+
---
11+
12+
## Environment
13+
14+
| Version | Product | Author |
15+
| --- | --- | ---- |
16+
| 2024.2.426| RadPdfProcessing |[Desislava Yordanova](https://www.telerik.com/blogs/author/desislava-yordanova)|
17+
18+
## Description
19+
20+
Learn how to generate a PDF document and add a barcode to it.
21+
22+
![Pdf with Barcodes](images/pdf-with-barcodes.png)
23+
24+
## Solution
25+
26+
To add a barcode to a PDF document, consider using the [WinForms BarcodeView](https://docs.telerik.com/devtools/winforms/controls/barcodeview/overview):
27+
28+
1\. First, [generate an image of the barcode](https://docs.telerik.com/devtools/winforms/controls/barcodeview/how-to/export-to-image)
29+
30+
2\. Then, add the [image to the PDF document]({%slug pdf-from-images-with-radfixeddocumenteditor%}). Here is a sample code snippet:
31+
32+
```csharp
33+
Telerik.WinControls.UI.Barcode.QRCode qrCode1 = new Telerik.WinControls.UI.Barcode.QRCode();
34+
RadBarcodeView radBarcodeView = new RadBarcodeView();
35+
radBarcodeView.BindingContext = new BindingContext();
36+
qrCode1.Version = 1;
37+
radBarcodeView.Symbology = qrCode1;
38+
radBarcodeView.Text = "radBarcodeView1";
39+
radBarcodeView.Value = "1234567";
40+
radBarcodeView.Invalidate();
41+
System.Drawing.Image img = radBarcodeView.ExportToImage(200, 200);
42+
string imageFilePath = "barcodeImage.png";
43+
img.Save(imageFilePath, System.Drawing.Imaging.ImageFormat.Png);
44+
45+
RadFixedDocument fixedDocument = new RadFixedDocument();
46+
RadFixedDocumentEditor documentEditor = new RadFixedDocumentEditor(fixedDocument);
47+
FileStream fileStream = new FileStream(imageFilePath, FileMode.Open);
48+
Telerik.Windows.Documents.Fixed.Model.Resources.ImageSource _imageSource = new Telerik.Windows.Documents.Fixed.Model.Resources.ImageSource(fileStream);
49+
documentEditor.InsertImageInline(_imageSource);
50+
documentEditor.InsertLineBreak();
51+
documentEditor.Dispose();
52+
PdfFormatProvider provider = new PdfFormatProvider();
53+
string outputFilePath = "output.pdf";
54+
File.Delete(outputFilePath);
55+
using (Stream output = File.OpenWrite(outputFilePath))
56+
{
57+
provider.Export(fixedDocument, output);
58+
}
59+
Process.Start(new ProcessStartInfo() { FileName = outputFilePath, UseShellExecute = true });
60+
```
61+
62+
## Notes
63+
64+
- The WinForms BarcodeView method is suitable for applications where a barcode image can be generated and saved before adding it to the PDF: [Generating a Bar Code Image outside WinForms](https://docs.telerik.com/devtools/winforms/knowledge-base/gridview-generating-barcode-image-non-winforms).
65+
66+
## See Also
67+
68+
- [RadPdfProcessing Documentation]({%slug radpdfprocessing-overview%})
69+
- [WinForms BarcodeView](https://docs.telerik.com/devtools/winforms/controls/barcodeview/overview)
70+
- [Exporting BarcodeView to Image](https://docs.telerik.com/devtools/winforms/controls/barcodeview/how-to/export-to-image)
71+
- [Generating a Barcode Image outside WinForms](https://docs.telerik.com/devtools/winforms/knowledge-base/gridview-generating-barcode-image-non-winforms)
72+

0 commit comments

Comments
 (0)