-
Notifications
You must be signed in to change notification settings - Fork 10
997018-dev: Added Getting started sample project for EJ2 PDF library #1911
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Conversation
|
Build Status: INPROGRESS 🔃 |
|
CI Status: FAILURE ❌ |
| --- | ||
| 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. |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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>®</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. |
There was a problem hiding this comment.
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>®</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. |
There was a problem hiding this comment.
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). |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 | |||
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
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 | |||
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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>®</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. |
There was a problem hiding this comment.
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>®</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. |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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) --> |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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
SF2381
left a comment
There was a problem hiding this 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
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