Skip to content

Commit

Permalink
NodeJS documentation revised. Licensing page for .NET edited.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel-A-Sokolov committed Sep 19, 2023
1 parent b3a4cb7 commit f575d51
Show file tree
Hide file tree
Showing 384 changed files with 216 additions and 216 deletions.
55 changes: 27 additions & 28 deletions net/getting-started/licensing-and-subscription.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,22 @@
---
id: licensing-and-subscription
url: viewer/net/licensing-and-subscription
title: Licensing
title: Licensing and evaluation
weight: 5
keywords: free, free trial, evaluation, groupdocs.viewer
description: "GroupDocs.Viewer provides different plans for purchasing or offers a Free Trial and a 30-day Temporary License for evaluation."
productName: GroupDocs.Viewer for .NET
hideChildren: False
toc: True
---
Sometimes, in order to study the system better, you want to dive into the code as fast as possible. To make this easier, GroupDocs.Viewer provides different plans for purchase or offers a Free Trial and a 30-day Temporary License for evaluation.
To study the system, you may want quick access to the API. To make this easier, GroupDocs.Viewer provides different plans for purchase and offers a Free Trial and a 30-day Temporary License for evaluation.

{{< alert style="info" >}}

Note that there are a number of general policies and practices that guide you on how to evaluate, properly license, and purchase our products. You can find them in the ["Purchase Policies and FAQ"](https://purchase.groupdocs.com/policies) section.

{{< /alert >}}

## Free Trial or Temporary License

You can try GroupDocs.Viewer without buying a license.

### Free Trial

The evaluation version is the same as the purchased one – the evaluation version simply becomes licensed when you set the license. You can set the license in a number of ways that described in the next sections of this article.

The evaluation version comes with the limitations:

- Only first 2 pages can be rendered.
- Trial badges are placed in the rendering results on the top of each page.

### Temporary License

If you wish to test GroupDocs.Viewer without the limitations of the trial version, you can also request a 30-day Temporary License. For more details, see the ["Get a Temporary License"](https://purchase.groupdocs.com/temporary-license) page.

## How to set a license

{{< alert style="info" >}}
Expand All @@ -55,9 +38,9 @@ The license can be set multiple times per app domain but we recommend doing it o

{{< /alert >}}

### Set License from File
### Set a license from a file

The following code sets a license from file.
The following code snippet shows how to set a license from file:

{{< tabs "example1">}}
{{< tab "C#" >}}
Expand All @@ -71,9 +54,9 @@ license.SetLicense(licensePath);
{{< /tab >}}
{{< /tabs >}}

### Set License from Stream
### Set a license from a stream

The following example shows how to set a license from a stream.
The following code snippet shows how to set a license from a stream.

{{< tabs "example2">}}
{{< tab "C#" >}}
Expand All @@ -90,15 +73,14 @@ using (FileStream fileStream = File.OpenRead(licensePath))
{{< /tab >}}
{{< /tabs >}}

### Set Metered License
### Set the metered license

You can also set [Metered](https://reference.groupdocs.com/net/viewer/groupdocs.viewer/metered) license as an alternative to license file. It is a new licensing mechanism that will be used along with existing licensing method. It is useful for the customers who want to be billed based on the usage of the API features. For more details, please refer to [Metered Licensing FAQ](https://purchase.groupdocs.com/faqs/licensing/metered) section.

Following is the sample code demonstrating how to use `Metered` licensing.
The following code snippet shows how to use the metered license.

{{< tabs "example3">}}
{{< tab "C#" >}}

```csharp
string publicKey = ""; // Your public license key
string privateKey = ""; // Your private license key
Expand All @@ -114,6 +96,23 @@ Console.WriteLine("Amount (MB) consumed: " + amountConsumed);
decimal creditsConsumed = GroupDocs.Viewer.Metered.GetConsumptionCredit();
Console.WriteLine("Credits consumed: " + creditsConsumed);
```

{{< /tab >}}
{{< /tabs >}}
{{< /tabs >}}

## How to evaluate GroupDocs.Viewer

You can also try GroupDocs.Viewer without buying a license.

### Free trial

The evaluation version is identical to the purchased one; it becomes licensed once you set the license. You can set the license using methods described in the following sections of this article.

The evaluation version has the following limitations:

- Rendering is limited to the first 2 pages.
- Trial badges are added to the top of each rendered page.

### Temporary license

If you want to test GroupDocs.Viewer without the limitations of the trial version, request a 30-day Temporary License. For details, see the ["Get a Temporary License"](https://purchase.groupdocs.com/temporary-license) page.

4 changes: 2 additions & 2 deletions nodejs-java/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ GroupDocs.Viewer ships with a wide range of options that allow you to control th

<p>API REFERENCE</p>
<ul>
<li><a href="https://reference.groupdocs.com/viewer/nodejs-java/">GroupDocs.Viewer for Java API Reference</a></li>
<li><a href="https://reference.groupdocs.com/viewer/nodejs-java/">GroupDocs.Viewer for Node.js via Java API Reference</a></li>
</ul>

<--->
Expand All @@ -86,7 +86,7 @@ GroupDocs.Viewer ships with a wide range of options that allow you to control th

<p>VERSION HISTORY</p>
<ul>
<li><a href='https://releases.groupdocs.com/viewer/nodejs-java/release-notes/'>GroupDocs.Viewer for Java Release Notes</a></li>
<li><a href='https://releases.groupdocs.com/viewer/nodejs-java/release-notes/'>GroupDocs.Viewer for Node.js via Java Release Notes</a></li>
</ul>

<p>TECHNICAL SUPPORT</p>
Expand Down
2 changes: 1 addition & 1 deletion nodejs-java/developer-guide/caching-results/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ console.log("Time taken on second call to View method " + currentTimeMillis + "

The following image shows a sample console output:

![](/viewer/java/images/caching-results.png)
![](/viewer/nodejs-java/images/caching-results.png)

For details, please refer to the following pages:
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: working-with-attachments
url: viewer/nodejs-java/working-with-attachments
title: Process attachments
weight: 4
description: "Processing email attachments, embedded files, and compressed files with GroupDocs.Viewer for JavaScript"
description: "Processing email attachments, embedded files, and compressed files with GroupDocs.Viewer for Node.js via Java"
keywords: email attachments, embedded files, compressed files
productName: GroupDocs.Viewer for Node.js via Java
hideChildren: False
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Save attachments
weight: 2
description: "Save attachments and embedded files from PDF, Outlook data file or email"
keywords: Save attachments, embedded files from PDF, Outlook data file
productName: GroupDocs.Viewer for Java
productName: GroupDocs.Viewer for Node.js via Java
hideChildren: False
---
To get and save attachments, follow these steps:
Expand Down
2 changes: 1 addition & 1 deletion nodejs-java/developer-guide/rendering-documents/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ Rendering a multi-page document to HTML or images results in multiple files, one

For example, if you have a .docx file with three pages, converting that file to HTML/images results in three HTML or image files that represent the pages in the document. Converting this file to PDF results in one file with three pages

![Rendering diagram](/viewer/java/images/getting-started/features-overview/rendering.png)
![Rendering diagram](/viewer/nodejs-java/images/getting-started/features-overview/rendering.png)

For details, please refer to the following pages:
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ id: rendering-to-pdf
url: viewer/nodejs-java/rendering-to-pdf
title: Render to PDF
weight: 13
description: "Rendering files to PDF with GroupDocs.Viewer for Java. It means that you can embed PDF in websites or applications by using this Java API"
description: "Rendering files to PDF with GroupDocs.Viewer for Node.js via Java. It means that you can embed PDF in websites or applications by using this Java API"
keywords: embed pdf in website, rendering to pdf, c# api, rendering pdf
productName: GroupDocs.Viewer for Java
productName: GroupDocs.Viewer for Node.js via Java
hideChildren: False
---
When rendering to PDF, GroupDocs.Viewer renders all pages of the source document as a single PDF document.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ console.log("Pages count: " + viewInfo.getPages().size())

The following image shows a sample console output:

![](/viewer/java/images/how-to-get-file-type-and-pages-count.png)
![](/viewer/nodejs-java/images/how-to-get-file-type-and-pages-count.png)
2 changes: 1 addition & 1 deletion nodejs-java/getting-started/features-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ toc: True

We use the term ["rendering"]({{< ref "viewer/nodejs-java/developer-guide/rendering-documents/_index.md" >}}) in GroupDocs.Viewer to describe the process of converting a document into a file format, paginated, or that has the concept of pages. For example, when you have a DOCX file with three pages then after rendering this file to HTML you will get three HTML files on the output that represent each of the pages in the document.

![Rendering diagram](/viewer/net/images/getting-started/features-overview/rendering.png)
![Rendering diagram](/viewer/nodejs-java/images/getting-started/features-overview/rendering.png)

### Rendering to HTML

Expand Down
Loading

0 comments on commit f575d51

Please sign in to comment.