Skip to content

Commit 1dfd162

Browse files
Merge pull request #1935 from syncfusion-content/998417-ug
Removed md file and resolved some feedback.
2 parents d5b9f87 + 8b8dbfe commit 1dfd162

File tree

7 files changed

+32
-552
lines changed

7 files changed

+32
-552
lines changed

Document-Processing-toc.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2574,7 +2574,6 @@
25742574
<li><a href="/document-processing/pdf/pdf-library/javascript/Split-Documents">Split PDF</a></li>
25752575
<li><a href="/document-processing/pdf/pdf-library/javascript/Text-Extraction">Text Extraction</a></li>
25762576
<li><a href="/document-processing/pdf/pdf-library/javascript/Redaction">Redaction</a></li>
2577-
<li><a href="/document-processing/pdf/pdf-library/javascript/Supported-and-Unsupported-Features">Supported and Unsupported Features</a></li>
25782577
</ul>
25792578

25802579
</li>

Document-Processing/PDF/PDF-Library/javascript/Create-PDF-document-angular.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,17 @@ Start a new Angular application using the Angular CLI command as follows.
3333
ng new my-app
3434
cd my-app
3535
```
36+
37+
## Installing Syncfusion<sup>&reg;</sup> JavaScript package
38+
39+
All the available JS 2 packages are published in `npmjs.com` registry.
40+
41+
* To install PDF component, use the following command.
42+
43+
```bash
44+
npm install @syncfusion/ej2-pdf --save
45+
```
46+
3647
## Create a PDF document using TypeScript
3748

3849
* Add a simple button to `app.component.html` and attach a click handler that uses the TypeScript PDF API to create a new PDF document.

Document-Processing/PDF/PDF-Library/javascript/Create-PDF-document-asp-net-core.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ This guide explains how to integrate the JavaScript PDF library into an ASP.NET
1616

1717
## Integrate PDF library into an ASP.NET Core application
1818

19-
1. Start Visual Studio and select **Create a new project**.
20-
2. In the **Create a new project** dialog, select **ASP.NET Core Web App**.
19+
Step 1: Start Visual Studio and select **Create a new project**.
20+
Step 2: In the **Create a new project** dialog, select **ASP.NET Core Web App**.
2121
![ASP.NET Core PDF creation1](Getting_started_images/Asp-net-core-creation1.png)
22-
3. In the **Configure your new project** dialog, enter the project name and select **Next**.
22+
Step 3: In the **Configure your new project** dialog, enter the project name and select **Next**.
2323
![ASP.NET Core PDF creation2](Getting_started_images/Asp-net-core-creation2.png)
24-
4. In the **Additional information** dialog, select a .NET LTS version (for example, **.NET 8.0 (Long-term Support)**) and then select **Create**.
24+
Step 4: In the **Additional information** dialog, select a .NET LTS version (for example, **.NET 8.0 (Long-term Support)**) and then select **Create**.
2525
![ASP.NET Core PDF creation3](Getting_started_images/Asp-net-core-creation3.png)
2626

27-
5. **Add script reference** : Add the required scripts using the CDN inside the `<head>` of `~/Views/Shared/_Layout.cshtml` as follows:
27+
Step 5: **Add script reference** : Add the required scripts using the CDN inside the `<head>` of `~/Views/Shared/_Layout.cshtml` as follows:
2828

2929
{% tabs %}
3030
{% highlight c# tabtitle="~/_Layout.cshtml" %}
@@ -38,7 +38,7 @@ This guide explains how to integrate the JavaScript PDF library into an ASP.NET
3838
{% endhighlight %}
3939
{% endtabs %}
4040

41-
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 JavaScript PDF API to generate a PDF document.
41+
Step 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 JavaScript PDF API to generate a PDF document.
4242

4343
{% tabs %}
4444
{% highlight c# tabtitle="~/Index.cshtml" %}
@@ -75,9 +75,9 @@ This guide explains how to integrate the JavaScript PDF library into an ASP.NET
7575
{% endhighlight %}
7676
{% endtabs %}
7777

78-
7. **Build the project** : Click on Build > Build Solution or press Ctrl + Shift + B to build the project.
78+
step 7: **Build the project** : Click on Build > Build Solution or press Ctrl + Shift + B to build the project.
7979

80-
8. **Run the project** : Click the Start button (green arrow) or press F5 to run the app.
80+
Step 8: **Run the project** : Click the Start button (green arrow) or press F5 to run the app.
8181

8282
By executing the program, you will generate the following PDF document.
8383

Document-Processing/PDF/PDF-Library/javascript/Create-PDF-document-asp-net-mvc.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ This guide explains how to integrate the JavaScript PDF library into an ASP.NET
1616

1717
## Integrate PDF library into an ASP.NET MVC application
1818

19-
1. Start Visual Studio and select **Create a new project**.
20-
2. Create a new ASP.NET MVC Web Application project.
19+
Step 1: Start Visual Studio and select **Create a new project**.
20+
Step 2: Create a new ASP.NET MVC Web Application project.
2121
![ASP.NET Core MVC PDF creation1](Getting_started_images/Asp-net-mvc-creation1.png)
22-
3. Choose the target framework.
22+
Step 3: Choose the target framework.
2323
![ASP.NET Core MVC PDF creation2](Getting_started_images/Asp-net-mvc-creation2.png)
24-
4. Select Web Application pattern (MVC) for the project and then select **Create** button.
24+
Step 4: Select Web Application pattern (MVC) for the project and then select **Create** button.
2525
![ASP.NET Core MVC PDF creation3](Getting_started_images/Asp-net-mvc-creation3.png)
2626

27-
5. **Add script reference** : Add the required scripts using the CDN inside the `<head>` of `~/Views/Shared/_Layout.cshtml` as follows:
27+
Step 5: **Add script reference** : Add the required scripts using the CDN inside the `<head>` of `~/Views/Shared/_Layout.cshtml` as follows:
2828

2929
{% tabs %}
3030
{% highlight c# tabtitle="~/_Layout.cshtml" %}
@@ -38,7 +38,7 @@ This guide explains how to integrate the JavaScript PDF library into an ASP.NET
3838
{% endhighlight %}
3939
{% endtabs %}
4040

41-
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 JavaScript PDF API to generate a PDF document.
41+
Step 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 JavaScript PDF API to generate a PDF document.
4242

4343
{% tabs %}
4444
{% highlight c# tabtitle="~/Index.cshtml" %}
@@ -75,9 +75,9 @@ This guide explains how to integrate the JavaScript PDF library into an ASP.NET
7575
{% endhighlight %}
7676
{% endtabs %}
7777

78-
7. **Build the project** : Click on Build > Build Solution or press Ctrl + Shift + B to build the project.
78+
Step 7: **Build the project** : Click on Build > Build Solution or press Ctrl + Shift + B to build the project.
7979

80-
8. **Run the project** : Click the Start button (green arrow) or press F5 to run the app.
80+
Step 8: **Run the project** : Click the Start button (green arrow) or press F5 to run the app.
8181

8282
By executing the program, you will generate the following PDF document.
8383

Document-Processing/PDF/PDF-Library/javascript/Create-PDF-document-javascript.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ The Syncfusion<sup>&reg;</sup> JS 2 for JavaScript (global script) is an ES5 for
1414

1515
## Component Initialization with CDN link for script and style reference
1616

17-
**Step 1:** Create an app folder `my-app` for the JS 2 JavaScript components.
17+
Step 1: Create an app folder `my-app` for the JS 2 JavaScript components.
1818

19-
**Step 2:** The JS 2 component's global scripts and styles are already hosted in the below CDN link formats.
19+
Step 2: The JS 2 component's global scripts and styles are already hosted in the below CDN link formats.
2020

2121
**Syntax:**
2222
> Script: `https://cdn.syncfusion.com/ej2/{Version}/dist/{PACKAGE_NAME}.min.js`
@@ -28,7 +28,7 @@ The Syncfusion<sup>&reg;</sup> JS 2 for JavaScript (global script) is an ES5 for
2828
>
2929
> Styles: [`https://cdn.syncfusion.com/ej2/31.2.15/ej2-base/styles/material.css`](https://cdn.syncfusion.com/ej2/31.2.15/ej2-base/styles/material.css)
3030
31-
**Step 3:** Create a HTML page (index.html) in `my-app` location and add the CDN link references.
31+
Step 3: Create a HTML page (index.html) in `my-app` location and add the CDN link references.
3232

3333
{% tabs %}
3434
{% highlight ts tabtitle="index.html" %}
@@ -42,7 +42,7 @@ The Syncfusion<sup>&reg;</sup> JS 2 for JavaScript (global script) is an ES5 for
4242
{% endhighlight %}
4343
{% endtabs %}
4444

45-
**Step 4:** **Create a PDF document** : Add the script in `index.html` by creating a button and attaching a click event that uses the JavaScript PDF API to generate a PDF document.
45+
Step 4: **Create a PDF document** : Add the script in `index.html` by creating a button and attaching a click event that uses the JavaScript PDF API to generate a PDF document.
4646

4747
{% tabs %}
4848
{% highlight c# tabtitle="~/Index.html" %}

Document-Processing/PDF/PDF-Library/javascript/Overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The following are the key features of this library.
3636

3737
## Supported web platforms
3838

39-
* ASP.NET core
39+
* ASP.NET Core
4040
* ASP.NET MVC
4141
* Angular
4242
* React

0 commit comments

Comments
 (0)