You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Document-Processing/PDF/PDF-Viewer/asp-net-core/event.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ documentation: ug
8
8
9
9
# Events in ASP.NET Core PDF Viewer Control
10
10
11
-
The PDF Viewer component provides a comprehensive event system for integrating custom logic into application workflows. Events are triggered throughout the document lifecycle, user interactions, and feature operations.
11
+
The PDF Viewer component provides a comprehensive event system for integrating custom logic into application workflows. Events are triggered throughout the document life cycle, user interactions, and feature operations.
Copy file name to clipboardExpand all lines: Document-Processing/PDF/PDF-Viewer/asp-net-core/globalization.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -307,6 +307,8 @@ The `locale` property enables you to specify the language and culture for the PD
307
307
308
308
To use a locale other than the default en-US, or to customize the localization strings, map the text content for the selected locale using the `ej.base.L10n.load()` method. This method registers the localized strings for your chosen locale, and the PDF Viewer will use them when displaying the interface.
309
309
310
+
N> The `ej.base.L10n.load(...)` call must be registered **before** the PDF Viewer component initializes; otherwise the localized strings will not be applied. The `ej.base` namespace is available through the Syncfusion EJ2 scripts that are loaded by the Tag Helper.
311
+
310
312
**Example: Custom Arabic (ar-AE) localization**
311
313
312
314
Add the following script to register custom localization strings for the Arabic (UAE) locale:
Copy file name to clipboardExpand all lines: Document-Processing/PDF/PDF-Viewer/asp-net-core/how-to-overview.md
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,25 +11,25 @@ documentation: ug
11
11
12
12
The following frequently asked questions address common ASP.NET Core PDF Viewer topics:
13
13
14
-
*[How to add annotation in text search in ASP.NET Core?](./how-to/add-annotation-in-text-search)
15
-
*[How to add custom header to the PDF Viewer ajax request?](./how-to/authorization-token)
14
+
*[How to add annotation in text search in ASP.NET Core?](./how-to/add-annotation-in-text-search)
15
+
*[How to add a custom header to the PDF Viewer AJAX request?](./how-to/authorization-token)
16
16
*[How to add a save button to PDF Viewer toolbar?](./how-to/add-save-button)
17
17
*[How to customize the annotation selectors?](./how-to/configure-annotation-selector-setting)
18
18
*[How to delete a specific annotation from the PDF document?](./how-to/delete-a-specific-annotation)
19
19
*[How to control the visibility of the annotation?](./how-to/control-annotation-visibility)
20
-
*[How to convert the PDF library bounds to PDF viewer bounds?](./how-to/convert-pdf-library-bounds-to-pdf-viewer-bounds)
20
+
*[How to convert the PDF library bounds to PDF Viewer bounds?](./how-to/convert-pdf-library-bounds-to-pdf-viewer-bounds)
21
21
*[How to customize the context menu in PDF Viewer?](./how-to/custom-context-menu)
22
-
*[How to add custom font in handwritten signature?](./how-to/custom-font-signature-field)
22
+
*[How to add a custom font in handwritten signature?](./how-to/custom-font-signature-field)
23
23
*[How to add custom fonts for form fields and free text annotations?](./how-to/custom-fonts)
24
24
*[How to customize text search highlight color in PDF Viewer?](./how-to/customize-text-search-color)
25
25
*[How to disable the context menu?](./how-to/disable-context-menu)
26
26
*[How to disable tile rendering in PDF Viewer?](./how-to/disable-tile-rendering)
27
27
*[How to get the download start event?](./how-to/download-start-event)
28
28
*[How to enable or disable the local storage?](./how-to/enable-local-storage)
29
-
*[Enable the resizer for text markup annotation?](./how-to/enable-resize)
29
+
*[How to enable the resizer for text markup annotation?](./how-to/enable-resize)
30
30
*[How to enable or disable the text selection?](./how-to/enable-text-selection)
31
31
*[How to export the PDF pages as images?](./how-to/export-as-image)
32
-
*[How to extract text from the PDF document?](./how-to/extract-text-completed)
32
+
*[How to extract completed text from the PDF document?](./how-to/extract-text-completed)
33
33
*[How to extract text from a specific region?](./how-to/extract-text-option)
34
34
*[How to extract text from the PDF document?](./how-to/extract-text)
35
35
*[How to find the text in the PDF document asynchronously?](./how-to/find-text-async)
@@ -42,26 +42,26 @@ The following frequently asked questions address common ASP.NET Core PDF Viewer
42
42
*[How to open the bookmark pane when the document is loaded?](./how-to/open-bookmark)
43
43
*[How to open the thumbnail pane when the document is loaded?](./how-to/open-thumbnail)
44
44
*[How to get the page render started and completed event?](./how-to/pagerenderstarted-pagerendercompleted)
45
-
*[How to resolve the `Unable to find an entry point named 'FreeExportedValues' in DLL 'pdfium''?](./how-to/resolve-unable-to-find-an-entry-point-error)
45
+
*[How to resolve the `Unable to find an entry point named 'FreeExportedValues' in DLL 'pdfium'`?](./how-to/resolve-unable-to-find-an-entry-point-error)
46
46
*[How to restrict the zooming in mobile mode?](./how-to/restricting-zoom-in-mobile-mode)
47
47
*[How to show custom stamp item in the stamp annotation?](./how-to/show-custom-stamp-item)
48
48
*[How to show or hide a particular annotation?](./how-to/show-hide-annotation)
49
49
*[How to get the signature selected and unselected event?](./how-to/signatureselect-signatureunselect)
50
50
*[How to unload the PDF document from the viewer?](./how-to/unload-document)
51
51
*[How to clear the Web service not listening error?](./how-to/webservice-not-listening)
52
-
*[How to Enable Bookmark pane in PDF Viewer?](./how-to/show-bookmark)
53
-
*[How to Save original document at the server side?](./how-to/save-original-document-at-the-server-side)
54
-
*[How to Configure retry timeout in PDF Viewer?](./how-to/retry-timeout)
55
-
*[How to Resolve the Pdfium issue in PDF Viewer?](./how-to/resolve-pdfium-issue)
56
-
*[How to Load N number of pages on initial loading in PDF Viewer?](./how-to/load-n-number-page)
57
-
*[How to Instantiate the PDF Viewer component dynamically in PDF Viewer?](./how-to/Instantiate-pdfviewer-dynamically)
58
-
*[How to Install packages based on OS in PDF Viewer?](./how-to/install-packages)
59
-
*[How to Extract Text using TextLineCollection in PDF Viewer?](./how-to/extract-text-using-text-collections)
60
-
*[How to Export As Image from PDF document in PDF Viewer?](./how-to/export-as-image-standalone)
61
-
*[How to Display document without downloading in PDF Viewer?](./how-to/display-document-without-downloading)
62
-
*[How to Capture the current page number being viewed in PDF Viewer?](./how-to/capture-page-number)
63
-
*[How to select annotations in multipage?](./how-to/select-multi-page-annotations)
52
+
*[How to enable Bookmark pane in PDF Viewer?](./how-to/show-bookmark)
53
+
*[How to save original document at the server side?](./how-to/save-original-document-at-the-server-side)
54
+
*[How to configure retry timeout in PDF Viewer?](./how-to/retry-timeout)
55
+
*[How to resolve the Pdfium issue in PDF Viewer?](./how-to/resolve-pdfium-issue)
56
+
*[How to load N number of pages on initial loading in PDF Viewer?](./how-to/load-n-number-page)
57
+
*[How to instantiate the PDF Viewer component dynamically?](./how-to/Instantiate-pdfviewer-dynamically)
58
+
*[How to install packages based on OS in PDF Viewer?](./how-to/install-packages)
59
+
*[How to extract Text using TextLineCollection in PDF Viewer?](./how-to/extract-text-using-text-collections)
60
+
*[How to export as image from PDF document in PDF Viewer?](./how-to/export-as-image-standalone)
61
+
*[How to display document without downloading in PDF Viewer?](./how-to/display-document-without-downloading)
62
+
*[How to capture the current page number being viewed in PDF Viewer?](./how-to/capture-page-number)
63
+
*[How to select annotations in multi-page?](./how-to/select-multi-page-annotations)
64
64
*[How to get the annotation when it is overlapped with another annotation on its selection?](./how-to/overlapped-annotation)
65
65
*[How to print the PDF document silently?](./how-to/print-document)
66
-
*[Load Document after resources Loaded](./how-to/load-document-after-resources-loaded)
67
-
*[How to use local resources to configure PDF Viewer](./how-to/local-resources)
66
+
*[How to load document after resources loaded](./how-to/load-document-after-resources-loaded)
67
+
*[How to use local resources to configure PDF Viewer?](./how-to/local-resources)
Copy file name to clipboardExpand all lines: Document-Processing/PDF/PDF-Viewer/asp-net-core/interaction-mode.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
---
2
2
layout: post
3
3
title: Interaction mode in ASP.NET Core PDF Viewer | Syncfusion
4
-
description: Learn how to use selection and panning interaction modes in the Syncfusion ASP.NET Core PDF Viewer.
4
+
description: Learn how to switch between selection and panning modes in the Syncfusion ASP.NET Core PDF Viewer to easily select content or navigate pages.
5
5
platform: document-processing
6
6
control: PDF Viewer
7
7
documentation: ug
8
8
---
9
9
10
10
11
-
# Interaction Mode in PDF Viewer
11
+
# PDF Viewer Interaction Settings
12
12
13
13
The PDF Viewer provides two interaction modes for working with loaded PDF documents: selection mode and panning mode.
14
14
@@ -42,7 +42,7 @@ In selection mode, text can be selected and copied from the loaded PDF document.
42
42
{% endhighlight %}
43
43
{% endtabs %}
44
44
45
-

45
+

Copy file name to clipboardExpand all lines: Document-Processing/PDF/PDF-Viewer/asp-net-core/magnification.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ documentation: ug
8
8
---
9
9
10
10
11
-
# Magnification
11
+
# Viewing at Different Zoom Levels
12
12
13
13
The PDF Viewer includes magnification tools on the default toolbar: Zoom In, Zoom Out, Zoom, Fit Page, and Fit Width. The toolbar can be configured to show or hide magnification tools as needed.
14
14
@@ -43,12 +43,12 @@ The following example shows how to enable magnification:
43
43
44
44
The following magnification options are available in the default toolbar:
45
45
46
-
***ZoomIn**:- Zoom in from the current zoom value.
47
-
***ZoomOut**:- Zoom out from the current zoom value.
48
-
***Zoom**:- Zoom to a specific percentage.
49
-
***FitPage**:- Fit the entire page within the available viewport.
50
-
***FitWidth**:- Fit the page width to the viewport.
51
-
***Auto**:- Fits the page content with-in the viewport on resizing action.
46
+
***ZoomIn**: Zoom in from the current zoom value.
47
+
***ZoomOut**: Zoom out from the current zoom value.
48
+
***Zoom**: Zoom to a specific percentage.
49
+
***FitPage**: Fit the entire page within the available viewport.
50
+
***FitWidth**: Fit the page width to the viewport.
51
+
***Auto**: Fits the page content within the viewport on resize.
52
52
53
53

Copy file name to clipboardExpand all lines: Document-Processing/PDF/PDF-Viewer/asp-net-core/open-pdf-file/from-amazon-s3.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ control: PDF Viewer
7
7
documentation: ug
8
8
---
9
9
10
-
# Open PDF from AWS S3
10
+
# Open Documents from Amazon S3 Storage
11
11
12
12
The ASP.NET Core PDF Viewer component supports loading PDF files from AWS S3 using either the standalone or the server-backed PDF Viewer. Both approaches are demonstrated below.
13
13
@@ -52,7 +52,7 @@ AWS.config.update({
52
52
});
53
53
```
54
54
55
-
2. Sets the parameters for fetching the PDF document from S3, including the bucket name and file key. Then Uses the getObject method of the S3 instance to retrieve the document. Converts the document data to a Base64 string and loads it into the Syncfusion<supstyle="font-size:70%">®</sup> PDF Viewer then load Base64 string generated into the viewer.load method.
55
+
2. Sets the parameters for fetching the PDF document from S3, including the bucket name and file key. Then uses the `getObject` method of the S3 instance to retrieve the document. Converts the document data to a Base64 string and loads it into the Syncfusion<supstyle="font-size:70%">®</sup> PDF Viewer using the `viewer.load` method.
56
56
57
57
N> Replace **Your Bucket Name** with the actual bucket name of your AWS S3 account and **Your Key** with the actual file key of your AWS S3 account.
58
58
@@ -130,7 +130,7 @@ public IndexModel(Microsoft.AspNetCore.Hosting.IHostingEnvironment hostingEnviro
130
130
}
131
131
```
132
132
133
-
3. Modify the `OnPostLoad()` method to load the PDF files from AWS S3
133
+
3. Modify the `OnPostLoadAsync()` method to load the PDF files from AWS S3
Copy file name to clipboardExpand all lines: Document-Processing/PDF/PDF-Viewer/asp-net-core/open-pdf-file/from-azure-blob-storage.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
---
2
2
layout: post
3
-
title: Open PDF from Azure Blob Storage in ASP.NET Core PDF Viewer | Syncfusion
3
+
title: View PDF from Azure Blob Storage | Syncfusion
4
4
description: Learn how to load PDFs from Azure Blob Storage in the Syncfusion ASP.NET Core PDF Viewer component using standalone and server-backed approaches.
5
5
platform: document-processing
6
6
control: PDF Viewer
7
7
documentation: ug
8
8
---
9
9
10
-
# Open PDF from Azure Blob Storage
10
+
# Open Documents from Azure Blob Storage
11
11
12
12
The ASP.NET Core PDF Viewer component supports loading PDF files from Azure Blob Storage using either the standalone or the server-backed PDF Viewer. Both approaches are demonstrated below.
13
13
@@ -136,7 +136,7 @@ public IndexModel(Microsoft.AspNetCore.Hosting.IHostingEnvironment hostingEnviro
136
136
}
137
137
```
138
138
139
-
3. Modify the `OnPostLoad()` method to load the PDF files from Azure Blob Storage
139
+
3. Modify the `OnPostLoad()` method to load the PDF files from Azure Blob Storage
Copy file name to clipboardExpand all lines: Document-Processing/PDF/PDF-Viewer/asp-net-core/open-pdf-file/from-google-cloud-storage.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,11 +13,11 @@ Follow these steps to load a PDF from Google Cloud Storage using the server-back
13
13
14
14
**Step 1:** Create a Service Account
15
15
16
-
Open the Google Cloud Console. Navigate to `IAM & Admin` > `Service accounts`. Click `Create Service Account`.` Enter a name, assign roles (e.g., Storage Object Admin), and create a key in JSON format. Download the key file securely. Utilize the downloaded key file in your applications or services for authentication and access to the Google Cloud Storage bucket. For additional details, refer to the [official documentation](https://cloud.google.com/iam/docs/service-accounts-create).
16
+
Open the Google Cloud Console. Navigate to `IAM & Admin` > `Service accounts`. Click `Create Service Account`. Enter a name, assign roles (e.g., Storage Object Admin), and create a key in JSON format. Download the key file securely. Utilize the downloaded key file in your applications or services for authentication and access to the Google Cloud Storage bucket. For additional details, refer to the [official documentation](https://cloud.google.com/iam/docs/service-accounts-create).
17
17
18
18
**Step 2:** Create a PDF Viewer sample in ASP.NET Core
19
19
20
-
Follow instructions provided in the Syncfusion<supstyle="font-size:70%">®</sup> PDF Viewer Getting Started [Guide](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/asp-net-core/getting-started-with-server-backed) to create a simple PDF Viewer sample in ASP.NET Core
20
+
Follow instructions provided in the Syncfusion<supstyle="font-size:70%">®</sup> PDF Viewer Getting Started [Guide](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/asp-net-core/getting-started-with-server-backed) to create a simple PDF Viewer sample in ASP.NET Core.
21
21
22
22
**Step 3:** Modify the `Index.cshtml.cs` file in the project
0 commit comments