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
2 changes: 1 addition & 1 deletion File-Formats-toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@
<a href="/file-formats/pdf/convert-html-to-pdf/Convert-HTML-to-PDF-in-AWS-Lambda">AWS Lambda</a>
</li>
<li>
<a href="/file-formats/pdf/convert-html-to-pdf/Convert-HTML-to-PDF-in-AWS-Lambda-with-NET 6-container-image">AWS Lambda with NET 6 container image</a>
<a href="/file-formats/pdf/convert-html-to-pdf/Convert-HTML-to-PDF-in-AWS-Lambda-with-NET6-container-image">AWS Lambda with NET 6 container image</a>
</li>
<li>
<a href="/file-formats/pdf/convert-html-to-pdf/Convert-HTML-to-PDF-in-AWS-Elastic-Beanstalk">AWS Elastic Beanstalk</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ The [Syncfusion .NET Core PDF library](https://www.syncfusion.com/document-proce
## Steps to open and save PDF document in Azure App Service on Linux

Step 1: Create a new ASP.NET Core Web App (Model-View-Controller).
![Create a ASP.NET Core Web App project](Azure_Images/Azure_app_service_Windows/Create-net-core-web-app.png)
![Create a ASP.NET Core Web App project](Azure_Images/Azure-app-service-Windows/Create-net-core-web-app.png)

Step 2: Create a project name and select the location.
![Configure your new project](Azure_Images/Azure_app_service_Windows/project_configuration.png)
![Configure your new project](Azure_Images/Azure-app-service-Windows/project_configuration.png)

Step 3: Click **Create** button.
![Additional Information](Azure_Images/Azure_app_service_Windows/Framework_selection.png)
![Additional Information](Azure_Images/Azure-app-service-Windows/Framework_selection.png)

Step 4: Install the [Syncfusion.Pdf.Net.Core](https://www.nuget.org/packages/Syncfusion.Pdf.Net.Core/) NuGet package as a reference to your project from [NuGet.org](https://www.nuget.org/).
![Install Syncfusion.Pdf.Net.Core Nuget Package](Azure_Images/Azure_app_service_Windows/NuGet_package.png)
![Install Syncfusion.Pdf.Net.Core Nuget Package](Azure_Images/Azure-app-service-Windows/NuGet_package.png)

N> Starting with v16.2.0.x, if you reference Syncfusion assemblies from trial setup or from the NuGet feed, you also have to add "Syncfusion.Licensing" assembly reference and include a license key in your projects. Please refer to this [link](https://help.syncfusion.com/common/essential-studio/licensing/overview) to know about registering Syncfusion license key in your application to use our components.

Expand Down Expand Up @@ -120,37 +120,37 @@ return fileStreamResult;
## Steps to publish as Azure App Service on Windows

Step 1: Right-click the project and select **Publish** option.
![Right-click the project and select the Publish option](Azure_Images/Azure_app_service_Windows/Click_publish_button.png)
![Right-click the project and select the Publish option](Azure_Images/Azure-app-service-Windows/Click_publish_button.png)

Step 2: Select the publish target as **Azure**.
![Select the publish target as Azure](Azure_Images/Azure_app_service_Windows/Select_target.png)
![Select the publish target as Azure](Azure_Images/Azure-app-service-Windows/Select_target.png)

Step 3: Select the Specific target as **Azure App Service (Linux)**.
![Select the publish target](Azure_Images/Azure_app_service_Linux/Select_Azure_app_service_linux.png)
![Select the publish target](Azure_Images/Azure-app-service-Linux/Select_Azure_app_service_Linux.png)

Step 4: To create a new app service, click **Create new** option.
![Click create new option](Azure_Images/Azure_app_service_Windows/Create_new_app_service.png)
![Click create new option](Azure_Images/Azure-app-service-Windows/Create_new_app_service.png)

Step 5: Click the **Create** button to proceed with **App Service** creation.
![Click the Create button](Azure_Images/Azure_app_service_Linux/App_service_detais1.png)
![Click the Create button](Azure_Images/Azure-app-service-Linux/App_service_detais1.png)

Step 6: Click the **Finish** button to finalize the **App Service** creation.
![Click the Finish button](Azure_Images/Azure_app_service_Linux/Finish_app_service.png)
![Click the Finish button](Azure_Images/Azure-app-service-Linux/Finish_app_service.png)

Step 7: Click **Close** button.
![Create a ASP.NET Core Project](Azure_Images/Azure_app_service_Linux/Profile_creation.png)
![Create a ASP.NET Core Project](Azure_Images/Azure-app-service-Linux/Profile_creation.png)

Step 8: Click the **Publish** button.
![Click the Publish button](Azure_Images/Azure_app_service_Linux/Publish_app_service.png)
![Click the Publish button](Azure_Images/Azure-app-service-Linux/Publish_app_service.png)

Step 9: Now, Publish has been succeeded.
![Publish has been succeeded](Azure_Images/Azure_app_service_Linux/Publish_link.png)
![Publish has been succeeded](Azure_Images/Azure-app-service-Linux/Publish_link.png)

Step 10: Now, the published webpage will open in the browser.
![Browser will open after publish](Azure_Images/Azure_app_service_windows//WebView.png)
![Browser will open after publish](Azure_Images/Azure-app-service-Windows//WebView.png)

Step 11: Click **Open and Save Document** button.You will get the output **PDF document** as follows.
![Output PDF screenshot](Azure_Images/Azure_app_service_windows/Output_screenshot.png)
![Output PDF screenshot](Azure_Images/Azure-app-service-Windows/Output_screenshot.png)

You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/Open%20and%20Save%20PDF%20document/Azure/Azure_App_Service).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ The [Syncfusion .NET Core PDF library](https://www.syncfusion.com/document-proce
## Steps to open and save PDF document in Azure App Service on Windows

Step 1: Create a new ASP.NET Core Web App (Model-View-Controller).
![Create a ASP.NET Core Web App project](Azure_Images/Azure_app_service_windows/Create-net-core-web-app.png)
![Create a ASP.NET Core Web App project](Azure_Images/Azure-app-service-windows/Create-net-core-web-app.png)

Step 2: Create a project name and select the location.
![Configure your new project](Azure_Images/Azure_app_service_windows/project_configuration.png)
![Configure your new project](Azure_Images/Azure-app-service-windows/project_configuration.png)

Step 3: Click **Create** button.
![Additional Information](Azure_Images/Azure_app_service_windows/Framework_selection.png)
![Additional Information](Azure_Images/Azure-app-service-windows/Framework_selection.png)

Step 4: Install the [Syncfusion.Pdf.Net.Core](https://www.nuget.org/packages/Syncfusion.Pdf.Net.Core/) NuGet package as a reference to your project from [NuGet.org](https://www.nuget.org/).
![Install Syncfusion.Pdf.Net.Core Nuget Package](Azure_Images/Azure_app_service_windows/NuGet_package.png)
![Install Syncfusion.Pdf.Net.Core Nuget Package](Azure_Images/Azure-app-service-windows/NuGet_package.png)

N> Starting with v16.2.0.x, if you reference Syncfusion assemblies from trial setup or from the NuGet feed, you also have to add "Syncfusion.Licensing" assembly reference and include a license key in your projects. Please refer to this [link](https://help.syncfusion.com/common/essential-studio/licensing/overview) to know about registering Syncfusion license key in your application to use our components.

Expand Down Expand Up @@ -120,37 +120,37 @@ return fileStreamResult;
## Steps to publish as Azure App Service on Windows

Step 1: Right-click the project and select **Publish** option.
![Right-click the project and select the Publish option](Azure_Images/Azure_app_service_windows/Click_publish_button.png)
![Right-click the project and select the Publish option](Azure_Images/Azure-app-service-windows/Click_publish_button.png)

Step 2: Select the publish target as **Azure**.
![Select the publish target as Azure](Azure_Images/Azure_app_service_windows/Select_target.png)
![Select the publish target as Azure](Azure_Images/Azure-app-service-windows/Select_target.png)

Step 3: Select the Specific target as **Azure App Service (Windows)**.
![Select the publish target](Azure_Images/Azure_app_service_windows/Select_azure-app-service-windows.png)
![Select the publish target](Azure_Images/Azure-app-service-windows/Select_azure-app-service-windows.png)

Step 4: To create a new app service, click **Create new** option.
![Click create new option](Azure_Images/Azure_app_service_windows/Create_new_app_service.png)
![Click create new option](Azure_Images/Azure-app-service-windows/Create_new_app_service.png)

Step 5: Click the **Create** button to proceed with **App Service** creation.
![Click the Create button](Azure_Images/Azure_app_service_windows/App_service_details.png)
![Click the Create button](Azure_Images/Azure-app-service-windows/App_service_details.png)

Step 6: Click the **Finish** button to finalize the **App Service** creation.
![Click the Finish button](Azure_Images/Azure_app_service_windows/Finish_app_service.png)
![Click the Finish button](Azure_Images/Azure-app-service-windows/Finish_app_service.png)

Step 7: Click **Close** button.
![Create a ASP.NET Core Project](Azure_Images/Azure_app_service_windows/profile_creation_success.png)
![Create a ASP.NET Core Project](Azure_Images/Azure-app-service-windows/profile_creation_success.png)

Step 8: Click the **Publish** button.
![Click the Publish button](Azure_Images/Azure_app_service_windows/Publish_app_service.png)
![Click the Publish button](Azure_Images/Azure-app-service-windows/Publish_app_service.png)

Step 9: Now, Publish has been succeeded.
![Publish has been succeeded](Azure_Images/Azure_app_service_windows/Publish_link.png)
![Publish has been succeeded](Azure_Images/Azure-app-service-windows/Publish_link.png)

Step 10: Now, the published webpage will open in the browser.
![Browser will open after publish](Azure_Images/Azure_app_service_windows/WebView.png)
![Browser will open after publish](Azure_Images/Azure-app-service-windows/WebView.png)

Step 11: Click **Open and Save Document** button.You will get the output **PDF document** as follows.
![Output PDF screenshot](Azure_Images/Azure_app_service_windows/Output_screenshot.png)
![Output PDF screenshot](Azure_Images/Azure-app-service-windows/Output_screenshot.png)

You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/Open%20and%20Save%20PDF%20document/Azure/Azure_App_Service).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ The [Syncfusion .NET PDF library](https://www.syncfusion.com/document-processing
## Steps to open and save PDF document in Azure Functions v1

Step 1: Create a new Azure Functions project.
![Create a Azure Functions project](Azure_Images/Azure_functions_v1/Project_creation.png)
![Create a Azure Functions project](Azure_Images/Azure-functions-v1/Project_creation.png)

Step 2: Create a project name and select the location.
![Create a project name](Azure_Images/Azure_functions_v1/Project_configuration.png)
![Create a project name](Azure_Images/Azure-functions-v1/Project_configuration.png)

Step 3: Select function worker as **.NET Framework**.
![Select function worker](Azure_Images/Azure_functions_v1/Additional_information.png)
![Select function worker](Azure_Images/Azure-functions-v1/Additional_information.png)

Step 4: Install the [Syncfusion.PDF.AspNet](https://www.nuget.org/packages/Syncfusion.Pdf.AspNet) NuGet package as a reference to your project from [NuGet.org](https://www.nuget.org/).
![Install Syncfusion.Pdf.AspNet NuGet package](Azure_Images/Azure_functions_v1/NuGet_package.png)
![Install Syncfusion.Pdf.AspNet NuGet package](Azure_Images/Azure-functions-v1/NuGet_package.png)

N> Starting with v16.2.0.x, if you reference Syncfusion assemblies from trial setup or from the NuGet feed, you also have to add "Syncfusion.Licensing" assembly reference and include a license key in your projects. Please refer to this [link](https://help.syncfusion.com/common/essential-studio/licensing/overview) to know about registering Syncfusion license key in your application to use our components.

Expand Down Expand Up @@ -103,30 +103,30 @@ return response;
{% endtabs %}

Step 9: Right click the project and select **Publish**. Then, create a new profile in the Publish Window.
![Create a new profile in the Publish Window](Azure_Images/Azure_functions_v1/Publish_button.png)
![Create a new profile in the Publish Window](Azure_Images/Azure-functions-v1/Publish_button.png)

Step 10: Select the target as **Azure** and click **Next** button.
![Select the target as Azure](Azure_Images/Azure_functions_v1/Set_Azure_target.png)
![Select the target as Azure](Azure_Images/Azure-functions-v1/Set_Azure_target.png)

Step 11: Select the **Create new** button.
![Configure Hosting Plan](Azure_Images/Azure_functions_v1/Function_insane.png)
![Configure Hosting Plan](Azure_Images/Azure-functions-v1/Function_insane.png)

Step 12: Click **Create** button.
![Select the plan type](Azure_Images/Azure_functions_v1/Hosting_sample.png)
![Select the plan type](Azure_Images/Azure-functions-v1/Hosting_sample.png)

Step 13: After creating app service then click **Finish** button.
![Creating app service](Azure_Images/Azure_functions_v1/Finish_function.png)
![Creating app service](Azure_Images/Azure-functions-v1/Finish_function.png)

Step 14: Click the **Publish** button.
![Click Publish Button](Azure_Images/Azure_functions_v1/Ready_for_publish.png)
![Click Publish Button](Azure_Images/Azure-functions-v1/Ready_for_publish.png)

Step 15: Publish has been succeed.
![Publish succeeded](Load_and_save_images/Azure_functions_v1/Published_link.png)
![Publish succeeded](Azure_Images/Azure-functions-v1/Published_link.png)

Step 16: Now, go to Azure portal and select the App Services. After running the service, click **Get function URL > Copy**. Include the URL as a query string in the URL. Then, paste it into the new browser tab. You will get the PDF document as follows.
![Output document screenshot](Azure_Images/Azure_functions_v1/Output_screenshot.png)
![Output document screenshot](Azure_Images/Azure-functions-v1/Output_screenshot.png)

You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/Open%20and%20Save%20PDF%20document/Azure/Azure_Functions/Azure_Functions_v1).
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/Open%20and%20Save%20PDF%20document/Azure/Azure_Functions/Azure-functions-v1).

Click [here](https://www.syncfusion.com/document-processing/pdf-framework/net-core) to explore the rich set of Syncfusion PDF library features.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ The [Syncfusion .NET PDF library](https://www.syncfusion.com/document-processing
## Steps to open and save PDF document in Azure Functions v4

Step 1: Create a new Azure Functions project.
![Create a Azure Functions project](Azure_Images/Azure_functions_v1/Project_creation.png)
![Create a Azure Functions project](Azure_Images/Azure-functions-v1/Project_creation.png)

Step 2: Create a project name and select the location.
![Create a project name](Azure_Images/Azure_functions_v1/Project_configuration.png)
![Create a project name](Azure_Images/Azure-functions-v1/Project_configuration.png)

Step 3: Select function worker as **.NET 6.0 (Long-term support)**.
![Select function worker](Azure_Images/Azure_functions_v4/Additional_info.png)
![Select function worker](Azure_Images/Azure-functions-v4/Additional_info.png)

Step 4: Install the [Syncfusion.PDF.Net.Core](https://www.nuget.org/packages/Syncfusion.Pdf.Net.Core/) NuGet package as a reference to your project from [NuGet.org](https://www.nuget.org/).
![Install Syncfusion.Pdf.Net.Core NuGet package](Azure_Images/Azure_functions_v1/NuGet_package.png)
![Install Syncfusion.Pdf.Net.Core NuGet package](Azure_Images/Azure-functions-v1/NuGet_package.png)

N> Starting with v16.2.0.x, if you reference Syncfusion assemblies from trial setup or from the NuGet feed, you also have to add "Syncfusion.Licensing" assembly reference and include a license key in your projects. Please refer to this [link](https://help.syncfusion.com/common/essential-studio/licensing/overview) to know about registering Syncfusion license key in your application to use our components.

Expand Down Expand Up @@ -103,30 +103,30 @@ return response;
{% endtabs %}

Step 9: Right click the project and select **Publish**. Then, create a new profile in the Publish Window.
![Create a new profile in the Publish Window](Azure_Images/Azure_functions_v1/Publish_button.png)
![Create a new profile in the Publish Window](Azure_Images/Azure-functions-v1/Publish_button.png)

Step 10: Select the target as **Azure** and click **Next** button.
![Select the target as Azure](Azure_Images/Azure_functions_v1/Set_Azure_target.png)
![Select the target as Azure](Azure_Images/Azure-functions-v1/Set_Azure_target.png)

Step 11: Select the **Create new** button.
![Configure Hosting Plan](Azure_Images/Azure_functions_v1/Function_insane.png)
![Configure Hosting Plan](Azure_Images/Azure-functions-v1/Function_insane.png)

Step 12: Click **Create** button.
![Select the plan type](Azure_Images/Azure_functions_v1/Hosting_sample.png)
![Select the plan type](Azure_Images/Azure-functions-v1/Hosting_sample.png)

Step 13: After creating app service then click **Finish** button.
![Creating app service](Azure_Images/Azure_functions_v1/Finish_function.png)
![Creating app service](Azure_Images/Azure-functions-v1/Finish_function.png)

Step 14: Click the **Publish** button.
![Click Publish Button](Azure_Images/Azure_functions_v1/Ready_for_publish.png)
![Click Publish Button](Azure_Images/Azure-functions-v1/Ready_for_publish.png)

Step 15: Publish has been succeed.
![Publish succeeded](Azure_Images/Azure_functions_v1/Published_link.png)
![Publish succeeded](Azure_Images/Azure-functions-v1/Published_link.png)

Step 16: Now, go to Azure portal and select the App Services. After running the service, click **Get function URL > Copy**. Include the URL as a query string in the URL. Then, paste it into the new browser tab. You will get the PDF document as follows.
![Output document screenshot](Azure_Images/Azure_functions_v1/Output_screenshot.png)
![Output document screenshot](Azure_Images/Azure-functions-v1/Output_screenshot.png)

You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/Open%20and%20Save%20PDF%20document/Azure/Azure_Functions/Azure_Functions_v4).
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/Open%20and%20Save%20PDF%20document/Azure/Azure_Functions/Azure-functions-v4).

Click [here](https://www.syncfusion.com/document-processing/pdf-framework/net-core) to explore the rich set of Syncfusion PDF library features.

Expand Down
2 changes: 1 addition & 1 deletion File-Formats/PDF/Working-with-Text.md
Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,7 @@ PdfPage page = doc.Pages.Add();
PdfGraphics graphics = page.Graphics;
FileStream fontStream = new FileStream("tahoma.ttf", FileMode.Open, FileAccess.Read);
//Create a new PDF font instance
PdfFont font = new PdfTrueTypeFont(fontStream, 10);
PdfFont pdfFont = new PdfTrueTypeFont(fontStream, 10);
//Set the format for string
PdfStringFormat format = new PdfStringFormat();
//Set the format as complex script layout type
Expand Down