Skip to content

Conversation

@sameerkhan001
Copy link
Contributor

Hi All,

Task Id: https://dev.azure.com/EssentialStudio/Document%20Processing%20Libraries/_workitems/edit/997018/

Task Name: Need to add getting started sample for EJ2 PDF library

Regards,
Sameerkhan N

@SyncfusionBuild
Copy link
Contributor

Build Status: INPROGRESS 🔃
Build Location: 997018-dev

@SyncfusionBuild
Copy link
Contributor

CI Status: FAILURE ❌
Source Compilation: SUCCESS ✅
Failure Reason: CI Failure with violation
Build Location: 997018-dev
Technical Error(s): 0
Spelling Error(s): 2
Image Alt Text Error(s): 0
Image Size Error(s): 0
Image Name Error(s): 0
Front matter Error(s): 1
File Path Error(s): 1
CodeSnippet File Path Missing Error(s): 0
Toc Anchor Tags Validation Error(s): 0
MD Tag Validation Error(s): 4

---
layout: post
title: Getting started with Angular PDF library component | Syncfusion
description: Learn how to create a PDF file in Angular with easy steps using Syncfusion .NET Core PDF library without depending on Adobe.
Copy link
Contributor

@SF2381 SF2381 Dec 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Learn how to create or generate a PDF file in Angular applications with easy steps using Syncfusion JavaScript PDF library without depending on Adobe.

domainurl: ##DomainURL##
---

# Getting started with Angular PDF library
Copy link
Contributor

@SF2381 SF2381 Dec 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create or Generate PDF file in Angular


# Getting started with Angular PDF library

The Syncfusion<sup>&reg;</sup> Angular PDF library is used to create, read, and edit PDF documents. This library also offers functionality to merge, split, stamp, fill forms, and secure PDF files.
Copy link
Contributor

@SF2381 SF2381 Dec 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Syncfusion® JavaScript PDF library is used to create, read, and edit PDF documents. This library also offers functionality to merge, split, stamp, forms, and secure PDF files.


The Syncfusion<sup>&reg;</sup> Angular PDF library is used to create, read, and edit PDF documents. This library also offers functionality to merge, split, stamp, fill forms, and secure PDF files.

This guide explains how to integrate the EJ2 PDF library component into an Angular application.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This guide explains how to integrate the JavaScript PDF library into an Angular application.


N> For Angular 17+, see the following links:

* [Create a Standalone PDF Viewer in Angular 17 and above with-no-standalone-flag](./how-to/create-a-standalone-pdf-viewer-in-angular-17-and-above-with-no-standalone-flag).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove these viewer component information


<html>
<head>
<title>Button onclick Example</title>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change title as

PDF creation example

{% highlight html tabtitle="app.component.ts" %}

document.getElementById('normalButton').onclick = (): void => {
// Create a new PDF document
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sample code is not up to dated - API changes not considered

font: PdfStandardFont = new PdfStandardFont(PdfFontFamily.helvetica, 10);
font: PdfStandardFont = pdf.embedFont(PdfFontFamily.helvetica, 10, PdfFontStyle.regular);

PdfBrush([0, 0, 0]) -> PdfBrush({r: 0, g: 0, b: 0})

PdfPen([255, 0, 0], 1) -> PdfPen({r: 255, g: 0, b: 0}, 1)

graphics.drawString('Hello World!!!', font, [70, 10, 200, 50], new PdfPen([255, 0, 0], 1), new PdfBrush([0, 0, 0]));
graphics.drawString('Hello World!!!', font, {x: 70, y: 10, width: 200, height: 50}, new PdfPen({r: 255, g: 0, b: 0}, 1), new PdfBrush({r: 0, g: 0, b: 0}));

@@ -0,0 +1,108 @@
---
layout: post
title: Getting started with Angular PDF library component | Syncfusion
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create or Generate PDF file in Angular | Syncfusion


This guide explains how to integrate the EJ2 PDF library component into an Angular application.

N> For Angular 17+, see the following links:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove this

@@ -0,0 +1,86 @@
---
layout: post
title: Getting started with the ASP.NET Core PDF library | Syncfusion
Copy link
Contributor

@SF2381 SF2381 Dec 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create or Generate PDF file in ASP.NET Core | Syncfusion

---
layout: post
title: Getting started with the ASP.NET Core PDF library | Syncfusion
description: Learn how to create a PDF file in ASP.NET Core with easy steps using Syncfusion .NET Core PDF library without depending on Adobe.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Learn how to create or generate a PDF file in ASP.NET Core applications with easy steps using Syncfusion JavaScript PDF library without depending on Adobe.

platform: document-processing
control: PDF
documentation: ug
keywords: .net core create pdf, edit pdf, merge, pdf form, fill form, digital sign, table, c#, dotnet core pdf, asp generate pdf, aspx generate pdf
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove C# from keywords, add javascript

keywords: .net core create pdf, edit pdf, merge, pdf form, fill form, digital sign, table, c#, dotnet core pdf, asp generate pdf, aspx generate pdf
---

# Getting started with the ASP.NET Core PDF library
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create or Generate PDF file in ASP.NET Core


# Getting started with the ASP.NET Core PDF library

The Syncfusion<sup>&reg;</sup> .NET Core PDF library is used to create, read, and edit PDF documents. This library also offers functionality to merge, split, stamp, forms, and secure PDF files.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Syncfusion® JavaScript PDF library is used to create, read, and edit PDF documents. This library also offers functionality to merge, split, stamp, forms, and secure PDF files.


The Syncfusion<sup>&reg;</sup> .NET Core PDF library is used to create, read, and edit PDF documents. This library also offers functionality to merge, split, stamp, forms, and secure PDF files.

This guide explains how to integrate the EJ2 PDF library control into an ASP.NET Core application using Visual Studio.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This guide explains how to integrate the JavaScript PDF library into an ASP.NET Core application.


[System requirements for ASP.NET Core controls](https://help.syncfusion.com/document-processing/system-requirements)

## Integrate PDF Viewer into an ASP.NET Core application
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Integrate PDF library into an ASP.NET Core application


<head>
...
<!-- Syncfusion EJ2 PDF Library (CDN) -->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No description provided.

{% endhighlight %}
{% endtabs %}

6. **Create a PDF document** : Add the script in `~/Views/Home/Index.cshtml` by creating a button and attaching a click event that uses the EJ2 PDF API to generate a PDF document.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not mention EJ2 in UG, use JavaScript

Copy link
Contributor

@SF2381 SF2381 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Address all similar feedback on all platform samples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants