Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .NET/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Convert HTML to PDF file in .NET using C#

The Syncfusion® HTML to PDF converter is a .NET library used to convert HTML or web pages to PDF document in .NET application.
The [HTML to PDF converter](https://www.syncfusion.com/document-sdk/net-pdf-library/html-to-pdf) is a .NET library used to convert HTML or web pages to PDF document in .NET application.

## Steps to convert Html to PDF document in .NET application

Expand Down Expand Up @@ -41,4 +41,4 @@ The Syncfusion® HTML to PDF converter is a .NET library used to convert HTML
```

By executing the program, you will get the PDF document as follows.
<img src="HTML_to_PDF_NET/htmlconversion_images/htmltopdfoutput.png" alt="Output document of HTML to PDF conversion" width="100%" Height="Auto"/>
<img src="HTML_to_PDF_NET/htmlconversion_images/htmltopdfoutput.png" alt="Output document of HTML to PDF conversion" width="100%" Height="Auto"/>
5 changes: 2 additions & 3 deletions ASP.NET Core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Convert HTML to PDF file in ASP.NET Core using C#

The Syncfusion&reg; HTML to PDF converter is a .NET library used to convert HTML or web pages to PDF document in ASP.NET Core application.
The [HTML to PDF converter](https://www.syncfusion.com/document-sdk/net-pdf-library/html-to-pdf) is a .NET library used to convert HTML or web pages to PDF document in ASP.NET Core application.

## Steps to convert HTML to PDF in ASP.NET Core application

Expand Down Expand Up @@ -58,5 +58,4 @@ The Syncfusion&reg; HTML to PDF converter is a .NET library used to convert HTML
```

By executing the program, you will get the PDF document as follows.
<img src="HTML_to_PDF_Core/htmlconversion_images/htmltopdfoutput.png" alt="Output screenshot of HTML to PDF conversion" width="100%" Height="Auto"/>

<img src="HTML_to_PDF_Core/htmlconversion_images/htmltopdfoutput.png" alt="Output screenshot of HTML to PDF conversion" width="100%" Height="Auto"/>
4 changes: 2 additions & 2 deletions ASP.NET MVC/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Convert HTML to PDF file in ASP.NET MVC using C#

The Syncfusion&reg; HTML to PDF converter is a .NET library used to convert HTML or web pages to PDF document in ASP.NET MVC application.
The [HTML to PDF converter](https://www.syncfusion.com/document-sdk/net-pdf-library/html-to-pdf) is a .NET library used to convert HTML or web pages to PDF document in ASP.NET MVC application.

## Steps to convert HTML to PDF document in ASP.NET MVC

Expand Down Expand Up @@ -57,4 +57,4 @@ The Syncfusion&reg; HTML to PDF converter is a .NET library used to convert HTML
```

By executing the program, you will get the PDF document as follows.
<img src="HTML_to_PDF_MVC/htmlconversion_images/htmltopdfoutput.png" alt="Output screenshot for HTML to PDF conversion" width="100%" Height="Auto"/>
<img src="HTML_to_PDF_MVC/htmlconversion_images/htmltopdfoutput.png" alt="Output screenshot for HTML to PDF conversion" width="100%" Height="Auto"/>
2 changes: 1 addition & 1 deletion AWS/HTML_to_PDF_Lambda/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Convert HTML to PDF file in AWS using C#

The Syncfusion&reg; [HTML to PDF converter](https://www.syncfusion.com/pdf-framework/net/html-to-pdf) is a .NET library for converting webpages, SVG, MHTML, and HTML to PDF using C# with Blink rendering engine in AWS.
The [HTML to PDF converter](https://www.syncfusion.com/document-sdk/net-pdf-library/html-to-pdf) is a .NET library for converting webpages, SVG, MHTML, and HTML to PDF using C# with Blink rendering engine in AWS.

## Setting up the AWS Toolkit for Visual Studio

Expand Down
5 changes: 2 additions & 3 deletions Azure/HTML_to_PDF_Azure_app_service/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Convert HTML to PDF file in Azure App Service on Linux using C#

The Syncfusion&reg; HTML to PDF converter is a .NET library for converting webpages, SVG, MHTML, and HTML to PDF using C# in Azure App Service on Linux, Azure app service using the Linux [docker](https://www.docker.com/why-docker) container and Azure Function Application Linux.
The [HTML to PDF converter](https://www.syncfusion.com/document-sdk/net-pdf-library/html-to-pdf) is a .NET library for converting webpages, SVG, MHTML, and HTML to PDF using C# in Azure App Service on Linux, Azure app service using the Linux [docker](https://www.docker.com/why-docker) container and Azure Function Application Linux.

## Steps to convert HTML to PDF in Azure App service on Linux

Expand Down Expand Up @@ -135,5 +135,4 @@ There are two ways to install the dependency packages to Azure server,
<img src="HTML_to_PDF_Azure_app_service/HTML_to_PDF_images/AzureNetCore11.png" alt="AzureNetCore11 image" width="100%" Height="Auto"/>

Now, the published webpage will open in the browser. Click Export to PDF button to convert Syncfusion&reg; webpage to PDF document.
<img src="HTML_to_PDF_Azure_app_service/HTML_to_PDF_images/htmltopdfoutput.png" alt="AzureNetCore1 image" width="100%" Height="Auto"/>

<img src="HTML_to_PDF_Azure_app_service/HTML_to_PDF_images/htmltopdfoutput.png" alt="AzureNetCore1 image" width="100%" Height="Auto"/>
5 changes: 2 additions & 3 deletions Azure/HTML_to_PDF_Azure_app_service_docker/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Convert HTML to PDF file in Azure App Service Linux with docker using C#

The Syncfusion&reg; [HTML to PDF converter](https://www.syncfusion.com/document-processing/pdf-framework/net/html-to-pdf) is a .NET library for converting webpages, SVG, MHTML, and HTML to PDF using C# in Azure App Service on Linux, Azure app service using the Linux [Docker](https://www.docker.com/why-docker) container and Azure Function Application Linux.
The [HTML to PDF converter](https://www.syncfusion.com/document-sdk/net-pdf-library/html-to-pdf) is a .NET library for converting webpages, SVG, MHTML, and HTML to PDF using C# in Azure App Service on Linux, Azure app service using the Linux [Docker](https://www.docker.com/why-docker) container and Azure Function Application Linux.

## Steps to convert HTML to PDF in Azure app service using Blink with Linux docker container

Expand Down Expand Up @@ -105,5 +105,4 @@ The Syncfusion&reg; [HTML to PDF converter](https://www.syncfusion.com/document-


6. Click the button to convert Syncfusion&reg; webpage to a PDF document. You will get the PDF document as follows.
<img src="HTML_to_PDF_Azure_app_service_docker/HTML_Conversion_Images/htmltopdfoutput.png" alt="Convert HTMLToPDF Azure Docker Output" width="100%" Height="Auto"/>

<img src="HTML_to_PDF_Azure_app_service_docker/HTML_Conversion_Images/htmltopdfoutput.png" alt="Convert HTMLToPDF Azure Docker Output" width="100%" Height="Auto"/>
2 changes: 1 addition & 1 deletion Azure/HTML_to_PDF_Azure_functions/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Convert HTML to PDF file in Azure App Function Linux using C#

The Syncfusion&reg; [HTML to PDF converter](https://www.syncfusion.com/document-processing/pdf-framework/net/html-to-pdf) is a .NET library for converting webpages, SVG, MHTML, and HTML to PDF using C# in Azure App Service on Linux, Azure app service using the Linux [docker](https://www.docker.com/why-docker) container and Azure Function Application Linux.
The [HTML to PDF converter](https://www.syncfusion.com/document-sdk/net-pdf-library/html-to-pdf) is a .NET library for converting webpages, SVG, MHTML, and HTML to PDF using C# in Azure App Service on Linux, Azure app service using the Linux [docker](https://www.docker.com/why-docker) container and Azure Function Application Linux.

## Steps to convert HTML to PDF in the Azure Functions using the Blink rendering engine
1. Create the Azure function project.
Expand Down
2 changes: 1 addition & 1 deletion Blazor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Convert HTML to PDF file in Blazor using C#

The Syncfusion&reg; HTML to PDF converter is a .NET library used to convert HTML or web pages to PDF document in Blazor application.
The [HTML to PDF converter](https://www.syncfusion.com/document-sdk/net-pdf-library/html-to-pdf) is a .NET library used to convert HTML or web pages to PDF document in Blazor application.

## Steps to convert HTML to PDF in Blazor application

Expand Down
5 changes: 2 additions & 3 deletions Docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Convert HTML to PDF file in Linux Docker container using C#

The Syncfusion&reg; HTML to PDF converter is a .NET library that converts HTML or web pages to PDF document in a Linux [Docker](https://www.docker.com/why-docker/) container.
The [HTML to PDF converter](https://www.syncfusion.com/document-sdk/net-pdf-library/html-to-pdf) is a .NET library that converts HTML or web pages to PDF document in a Linux [Docker](https://www.docker.com/why-docker/) container.

## Steps to convert HTML to PDF in Linux Docker container

Expand Down Expand Up @@ -76,5 +76,4 @@ The Syncfusion&reg; HTML to PDF converter is a .NET library that converts HTML o
6. Build and run the sample in the Docker. It will pull the Linux Docker image from the Docker hub and run the project. Now, the webpage will open in the browser. Click the button to convert the webpage to a PDF.

By executing the program, you will get the PDF document as follows.
<img src="HTML_to_PDF_docker/htmlconversion_images/htmltopdfoutput.png" alt="Convert HTMLToPDF Dockeroutput" width="100%" Height="Auto"/>

<img src="HTML_to_PDF_docker/htmlconversion_images/htmltopdfoutput.png" alt="Convert HTMLToPDF Dockeroutput" width="100%" Height="Auto"/>
43 changes: 20 additions & 23 deletions Linux/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Convert HTML to PDF file in Linux using C#

The Syncfusion&reg; HTML to PDF converter is a .NET library that converts HTML or web pages to PDF document in Linux.
The [HTML to PDF converter](https://www.syncfusion.com/document-sdk/net-pdf-library/html-to-pdf) is a .NET library that converts HTML or web pages to PDF document in Linux.
## Pre-requisites

The following Linux dependencies should be installed where the conversion takes place.
Expand Down Expand Up @@ -47,32 +47,29 @@ The Syncfusion&reg; HTML to PDF converter is a .NET library that converts HTML o

4. Add code samples in Program.cs file.

```csharp

//Initialize HTML to PDF converter.
HtmlToPdfConverter htmlConverter = new HtmlToPdfConverter();
BlinkConverterSettings settings = new BlinkConverterSettings();
//Set command line arguments to run without the sandbox.
settings.CommandLineArguments.Add("--no-sandbox");
settings.CommandLineArguments.Add("--disable-setuid-sandbox");
//Assign Blink settings to the HTML converter.
htmlConverter.ConverterSettings = settings;
//Convert URL to PDF.
PdfDocument document = htmlConverter.Convert("https://www.syncfusion.com");
FileStream fileStream = new FileStream("HTML-to-PDF.pdf", FileMode.CreateNew, FileAccess.ReadWrite);
//Save and close a PDF document.
document.Save(fileStream);
document.Close(true);

```
```csharp

5. Execute the following command to restore the NuGet packages.
//Initialize HTML to PDF converter.
HtmlToPdfConverter htmlConverter = new HtmlToPdfConverter();
BlinkConverterSettings settings = new BlinkConverterSettings();
//Set command line arguments to run without the sandbox.
settings.CommandLineArguments.Add("--no-sandbox");
settings.CommandLineArguments.Add("--disable-setuid-sandbox");
//Assign Blink settings to the HTML converter.
htmlConverter.ConverterSettings = settings;
//Convert URL to PDF.
PdfDocument document = htmlConverter.Convert("https://www.syncfusion.com");
FileStream fileStream = new FileStream("HTML-to-PDF.pdf", FileMode.CreateNew, FileAccess.ReadWrite);
//Save and close a PDF document.
document.Save(fileStream);
document.Close(true);

```csharp
```

5. Execute the following command to restore the NuGet packages.

```csharp
dotnet restore

```

<img src="HTML_to_PDF_images/LinuxStep3.png" alt="Convert HTMLToPDF Linux Step3" width="100%" Height="Auto"/>
Expand All @@ -88,4 +85,4 @@ The Syncfusion&reg; HTML to PDF converter is a .NET library that converts HTML o
<img src="HTML_to_PDF_images/LinuxStep4.png" alt="Convert HTMLToPDF Linux Step4" width="100%" Height="Auto"/>

By executing the program, you will get the PDF document as follows. The output will be saved in parallel to the program.cs file.
<img src="HTML_to_PDF_images/htmltopdfoutput.png" alt="Convert HTMLToPDF Linux Step5" width="100%" Height="Auto"/>
<img src="HTML_to_PDF_images/htmltopdfoutput.png" alt="Convert HTMLToPDF Linux Step5" width="100%" Height="Auto"/>
3 changes: 1 addition & 2 deletions Mac/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# Convert HTML to PDF file in Mac using C#

The Syncfusion&reg; [HTML to PDF converter](https://www.syncfusion.com/pdf-framework/net/html-to-pdf) is a .NET library for converting webpages, SVG, MHTML, and HTML to PDF using C#. It is reliable and accurate. Using this library, you can convert HTML to PDF document in Mac.
The [HTML to PDF converter](https://www.syncfusion.com/document-sdk/net-pdf-library/html-to-pdf) is a .NET library for converting webpages, SVG, MHTML, and HTML to PDF using C#. It is reliable and accurate. Using this library, you can convert HTML to PDF document in Mac.

## Steps to convert HTML to PDF in ASP.NET Core MVC

1. Create a new C# ASP.NET Core Web Application project.
<img src="HTML_to_PDF_images/mac_step1.png" alt="Mac_step1" width="100%" Height="Auto"/>


2. Select the Target Framework of your project.
<img src="HTML_to_PDF_images/mac_step2.png" alt="Mac_step2" width="100%" Height="Auto"/>

Expand Down
Loading
Loading