Skip to content

Commit b1bd499

Browse files
committed
Merge branch 'VueChanges' of https://github.com/syncfusion-content/document-processing-docs into VueChanges
2 parents 763a2d9 + 08b3203 commit b1bd499

28 files changed

Lines changed: 296 additions & 228 deletions

Document-Processing/PDF/PDF-Viewer/asp-net-core/getting-started-with-server-backed.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,15 @@ For production apps, ensure that a valid Syncfusion license key is registered in
3131

3232
## ASP.NET Core PDF Viewer NuGet package installation
3333

34-
To add the ASP.NET Core PDF Viewer control, the following NuGet package needs to be installed in the ASP.NET Core application:
34+
To add `ASP.NET Core` controls in the application, open the NuGet package manager in Visual Studio (Tools → NuGet Package Manager → Manage NuGet Packages for Solution), search for [Syncfusion.EJ2.AspNet.Core](https://www.nuget.org/packages/Syncfusion.EJ2.AspNet.Core/) and then install it. Alternatively, you can utilize the following package manager command to achieve the same.
3535

36-
* Use [Syncfusion.EJ2.AspNet.Core](https://www.nuget.org/packages/Syncfusion.EJ2.AspNet.Core/)
36+
{% tabs %}
37+
{% highlight C# tabtitle="Package Manager" %}
38+
39+
Install-Package Syncfusion.EJ2.AspNet.Core -Version {{ site.releaseversion }}
40+
41+
{% endhighlight %}
42+
{% endtabs %}
3743

3844
## Add Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET Core Tag Helper
3945

Document-Processing/PDF/PDF-Viewer/asp-net-core/getting-started.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,15 @@ This guide explains how to integrate the ASP.NET Core PDF Viewer control into an
2929

3030
## ASP.NET Core PDF Viewer NuGet package installation
3131

32-
To add the ASP.NET Core PDF Viewer control, install the following NuGet package in the ASP.NET Core application:
32+
To add `ASP.NET Core` controls in the application, open the NuGet package manager in Visual Studio (Tools → NuGet Package Manager → Manage NuGet Packages for Solution), search for [Syncfusion.EJ2.AspNet.Core](https://www.nuget.org/packages/Syncfusion.EJ2.AspNet.Core/) and then install it. Alternatively, you can utilize the following package manager command to achieve the same.
3333

34-
* [Syncfusion.EJ2.AspNet.Core](https://www.nuget.org/packages/Syncfusion.EJ2.AspNet.Core/)
34+
{% tabs %}
35+
{% highlight C# tabtitle="Package Manager" %}
36+
37+
Install-Package Syncfusion.EJ2.AspNet.Core -Version {{ site.releaseversion }}
38+
39+
{% endhighlight %}
40+
{% endtabs %}
3541

3642
## Add Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET Core Tag Helper
3743

Document-Processing/PDF/PDF-Viewer/blazor/getting-started/web-app.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ N> Syncfusion&reg; uses [SkiaSharp.Views.Blazor](https://www.nuget.org/packages/
116116
{% tabs %}
117117
{% highlight razor tabtitle="~/_Imports.razor" %}
118118

119-
@using Syncfusion.Blazor;
120-
@using Syncfusion.Blazor.SfPdfViewer;
119+
@using Syncfusion.Blazor
120+
@using Syncfusion.Blazor.SfPdfViewer
121121

122122
{% endhighlight %}
123123
{% endtabs %}
@@ -281,6 +281,7 @@ N> If the interactivity location is set to Global and the render mode is set to
281281
{% endtabs %}
282282

283283
N> If the interactivity location is set to Global, a render mode does not need to be specified per page. The interactivity mode applies to the entire app.
284+
<br />Enable interactivity only via client-side rendering (CSR) by using the WebAssembly or Auto option
284285

285286
Add the Syncfusion<sup style="font-size:70%">&reg;</sup> PDF Viewer component in the **~/Pages/Index.razor** file.
286287

@@ -304,7 +305,7 @@ Run the application to display the PDF file in the Syncfusion&reg; Blazor PDF Vi
304305

305306
{% previewsample "https://blazorplayground.syncfusion.com/embed/hZVzNWqXLSZpnuzc?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Web App SfPdfViewer rendering in browser](gettingstarted-images/blazor-pdfviewer.png)" %}
306307

307-
N> [View the sample on GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-Started-Examples/tree/main/PDFViewer2/NET10/PDFViewer2_WebApp).
308+
N> [View the sample on GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-Started-Examples/tree/main/PDFViewer2/NET10/PDFViewer2_WebAppServerMode).
308309

309310
## See also
310311

Document-Processing/PDF/PDF-Viewer/blazor/getting-started/web-assembly-application.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ N> Syncfusion&reg; Blazor components are available on [nuget.org](https://www.nu
104104
{% tabs %}
105105
{% highlight razor tabtitle="~/_Imports.razor" %}
106106

107-
@using Syncfusion.Blazor;
108-
@using Syncfusion.Blazor.SfPdfViewer;
107+
@using Syncfusion.Blazor
108+
@using Syncfusion.Blazor.SfPdfViewer
109109

110110
{% endhighlight %}
111111
{% endtabs %}
@@ -177,6 +177,8 @@ Run the application to display the PDF file in the Syncfusion&reg; Blazor PDF Vi
177177

178178
{% previewsample "https://blazorplayground.syncfusion.com/embed/hZVzNWqXLSZpnuzc?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor WebAssembly SfPdfViewer rendering in browser](gettingstarted-images/blazor-pdfviewer.png)" %}
179179

180+
N> [View the sample on GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-Started-Examples/tree/main/PDFViewer2/NET10/PDFViewer2_WasmStandalone).
181+
180182
## See also
181183

182184
* [Getting started with the Blazor PDF Viewer in a Blazor Web app Server app](./web-app)

Document-Processing/PDF/PDF-Viewer/javascript-es5/getting-started-with-server-backed.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,12 @@ To enable additional features, inject the required modules. The following module
9393
dotnet run
9494
```
9595

96-
6. The PDF Viewer server instance runs at `https://localhost:5001`. Navigate to `https://localhost:5001/pdfviewer`, which returns the default GET response method. Bind this link to the `serviceUrl` property of the PDF Viewer as shown below.
96+
6. The PDF Viewer server instance runs at `https://localhost:7255`. Navigate to `https://localhost:7255/pdfviewer`, which returns the default GET response method. Bind this link to the `serviceUrl` property of the PDF Viewer as shown below.
9797

9898
```javascript
9999
var pdfviewer = new ej.pdfviewer.PdfViewer({
100100
documentPath: "https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf",
101-
serviceUrl: 'https://localhost:5001/pdfviewer'
101+
serviceUrl: 'https://localhost:7255/pdfviewer'
102102
});
103103
```
104104

Document-Processing/PDF/PDF-Viewer/javascript-es5/getting-started.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,8 @@ var pdfviewer = new ej.pdfviewer.PdfViewer({
6767

6868
View the sample in GitHub to [load PDF Viewer with local resources](https://github.com/SyncfusionExamples/javascript-pdf-viewer-examples/tree/master/How%20to/Refer%20resource%20url%20locally)
6969

70-
**Step 4:** Now, run the `index.html` in web browser, it will render the `Essential JS 2 PDF Viewer` component.
70+
**Step 4:** Now, run the `index.html` in web browser using a local web server, it will render the `Essential JS 2 PDF Viewer` component. You can use the following command to start the server.
71+
72+
```
73+
npx serve .
74+
```

Document-Processing/PDF/PDF-Viewer/javascript-es6/getting-started-with-server-backed.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ PdfViewer.Inject(Toolbar, Magnification, Navigation, Annotation, LinkAnnotation,
8484
let pdfviewer: PdfViewer = new PdfViewer();
8585
pdfviewer.serviceUrl = 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer/';
8686
pdfviewer.appendTo('#PdfViewer');
87-
pdfviewer.load('https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf', null);
87+
pdfviewer.load('https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf', '');
8888

8989
{% endhighlight %}
9090
{% endtabs %}
@@ -147,7 +147,7 @@ document.getElementById('load').addEventListener('click', function () {
147147
pdfViewer.serviceUrl = "https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer";
148148
pdfViewer.documentPath = "https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf";
149149
pdfViewer.dataBind();
150-
pdfViewer.load(pdfViewer.documentPath, null);
150+
pdfViewer.load(pdfViewer.documentPath, '');
151151
});
152152

153153
N> The Web API link https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer/ used in the `serviceUrl` property is intended for demonstration and evaluation only. For production, host your own web service with the required server configuration. You can reuse the [GitHub web service example](https://github.com/SyncfusionExamples/EJ2-PDFViewer-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/pdfviewer-server). **Standalone mode is strongly recommended.**
@@ -198,15 +198,15 @@ Inject modules using the `PdfViewer.Inject` method.
198198
dotnet run
199199
```
200200

201-
6. The PDF Viewer server instance runs at `https://localhost:5001`. Navigate to `https://localhost:5001/pdfviewer` to see the default GET response. Bind this URL to the [serviceUrl](https://ej2.syncfusion.com/documentation/api/pdfviewer#serviceurl) property of the PDF Viewer as shown below.
201+
6. The PDF Viewer server instance runs at `https://localhost:7255`. Navigate to `https://localhost:7255/pdfviewer` to see the default GET response. Bind this URL to the [serviceUrl](https://ej2.syncfusion.com/documentation/api/pdfviewer#serviceurl) property of the PDF Viewer as shown below.
202202

203203
{% tabs %}
204204
{% highlight ts tabtitle="app.ts" %}
205205

206206
let pdfviewer: PdfViewer = new PdfViewer();
207-
pdfviewer.serviceUrl = 'https://localhost:5001/pdfviewer';
207+
pdfviewer.serviceUrl = 'https://localhost:7255/pdfviewer';
208208
pdfviewer.appendTo('#PdfViewer');
209-
pdfviewer.load('PDF_Succinctly.pdf', null);
209+
pdfviewer.load('PDF_Succinctly.pdf', '');
210210

211211
{% endhighlight %}
212212
{% endtabs %}

Document-Processing/PDF/PDF-Viewer/react/Redaction/overview.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To enable the redaction toolbar, configure the `toolbarSettings.toolbarItems` pr
1919
The following example shows how to enable the redaction toolbar:
2020

2121
{% tabs %}
22-
{% highlight js tabtitle="index.js" %}
22+
{% highlight js tabtitle="app.jsx" %}
2323

2424
import * as ReactDOM from 'react-dom/client';
2525
import * as React from 'react';
@@ -52,8 +52,7 @@ export function App() {
5252
documentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
5353
resourceUrl= "https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib"
5454
toolbarSettings={toolbarSettings}
55-
56-
style={{ 'height': '680px' }}
55+
style={{ 'height': '680px' }}
5756
>
5857
<Inject services={[Toolbar, Magnification, Navigation, Annotation, LinkAnnotation, BookmarkView, ThumbnailView,
5958
Print, TextSelection, TextSearch, FormFields, FormDesigner]} />

Document-Processing/PDF/PDF-Viewer/react/Redaction/programmatic-support.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,8 @@ export function App() {
5151
documentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
5252
resourceUrl= "https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib"
5353
toolbarSettings={toolbarSettings}
54-
55-
style={{ 'height': '680px' }}
56-
>
54+
style={{ 'height': '640px' }}>
55+
5756
<Inject services={[Toolbar, Magnification, Navigation, Annotation, LinkAnnotation, BookmarkView, ThumbnailView,
5857
Print, TextSelection, TextSearch, FormFields, FormDesigner]} />
5958
</PdfViewerComponent>

Document-Processing/PDF/PDF-Viewer/react/Redaction/toolbar.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ export function App() {
5151
documentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
5252
resourceUrl= "https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib"
5353
toolbarSettings={toolbarSettings}
54-
5554
style={{ 'height': '680px' }}
5655
>
5756
<Inject services={[Toolbar, Magnification, Navigation, Annotation, LinkAnnotation, BookmarkView, ThumbnailView,

0 commit comments

Comments
 (0)