Skip to content

Commit 59e6673

Browse files
Revamped the pending files in the core platform
1 parent 601953b commit 59e6673

7 files changed

Lines changed: 53 additions & 53 deletions

File tree

Document-Processing/PDF/PDF-Viewer/asp-net-core/organize-pdf.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ After organizing your PDF pages, save your modifications to preserve the changes
131131

132132
Real-time updates reflect all your page organization changes (rotations, rearrangements, deletions, insertions, etc.) immediately in the PDF Viewer. Simply click **Save** or **Save As** when you're ready to finalize your changes.
133133

134-
## API's supported
134+
## APIs supported
135135

136136
The page organizer feature provides several APIs for programmatic control and configuration of page organization capabilities.
137137

@@ -234,7 +234,7 @@ Programmatically opens the page organizer panel. Use this API to provide users w
234234
{% tabs %}
235235
{% highlight cshtml tabtitle="Standalone" %}
236236

237-
<button type="button" onclick="closePageOrganizer()">Close PageOrganizer Pane</button>
237+
<button type="button" onclick="openPageOrganizer()">Open PageOrganizer Pane</button>
238238

239239
<div style="width:100%;height:600px">
240240
<ejs-pdfviewer id="pdfviewer"
@@ -245,16 +245,16 @@ Programmatically opens the page organizer panel. Use this API to provide users w
245245
</div>
246246

247247
<script>
248-
function closePageOrganizer() {
248+
function openPageOrganizer() {
249249
var pdfViewer = document.getElementById('pdfviewer').ej2_instances[0];
250-
// Close Page Organizer panel.
251-
pdfViewer.pageOrganizer.closePageOrganizer(););
250+
// Open Page Organizer panel.
251+
pdfViewer.pageOrganizer.openPageOrganizer();
252252
}
253253
</script>
254254
{% endhighlight %}
255255
{% highlight cshtml tabtitle="Server-Backed" %}
256256

257-
<button type="button" onclick="closePageOrganizer()">Close PageOrganizer Pane</button>
257+
<button type="button" onclick="openPageOrganizer()">Open PageOrganizer Pane</button>
258258

259259
<div style="width:100%;height:600px">
260260
<ejs-pdfviewer id="pdfviewer"
@@ -267,7 +267,7 @@ Programmatically opens the page organizer panel. Use this API to provide users w
267267
<script>
268268
function openPageOrganizer() {
269269
var pdfViewer = document.getElementById('pdfviewer').ej2_instances[0];
270-
// Close Page Organizer panel.
270+
// Open Page Organizer panel.
271271
pdfViewer.pageOrganizer.openPageOrganizer();
272272
}
273273
</script>
@@ -333,7 +333,7 @@ Programmatically closes the page organizer panel. Use this API to dismiss the or
333333
function closePageOrganizer() {
334334
var pdfViewer = document.getElementById('pdfviewer').ej2_instances[0];
335335
// Close Page Organizer panel.
336-
pdfViewer.pageOrganizer.closePageOrganizer(););
336+
pdfViewer.pageOrganizer.closePageOrganizer();
337337
}
338338
</script>
339339
{% endhighlight %}
@@ -372,7 +372,7 @@ These shortcuts enable efficient keyboard-based navigation and operations, makin
372372

373373
![Undo and redo operations in page organizer](./images/undo-redo.png)
374374

375-
#### Conclusion
375+
## Conclusion
376376

377377
With the Organize Pages feature in the PDF Viewer, managing your PDF documents has never been easier. Whether you are adding new content, adjusting page orientation, moving the pages, duplicating the pages, or removing unnecessary pages, this feature provides the tools you need to streamline your document management workflow. Explore these capabilities today and take control of your PDF documents with ease!
378378

Document-Processing/PDF/PDF-Viewer/asp-net-core/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Overview of ASP.NET Core PDF Viewer | Syncfusion
33
description: Learn here all about the Syncfusion ASP.NET Core PDF Viewer, its capabilities, and supported platforms.
44
platform: document-processing
55
control: PDF Viewer
6-
documentation: UG
6+
documentation: ug
77
---
88

99
# Overview of ASP.NET Core PDF Viewer

Document-Processing/PDF/PDF-Viewer/asp-net-core/print.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ The `printScaleFactor` property controls the quality of printed output. Higher s
113113
style="height:600px"
114114
documentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
115115
enablePrint="true"
116-
printScaleFactor=0.5>
116+
printScaleFactor="0.5">
117117
</ejs-pdfviewer>
118118
</div>
119119

@@ -126,7 +126,7 @@ The `printScaleFactor` property controls the quality of printed output. Higher s
126126
serviceUrl="/api/PdfViewer"
127127
documentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
128128
enablePrint="true"
129-
printScaleFactor=0.5>
129+
printScaleFactor="0.5">
130130
</ejs-pdfviewer>
131131
</div>
132132

@@ -154,7 +154,7 @@ The `enablePrintRotation` property controls whether landscape pages are automati
154154
style="height:600px"
155155
documentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
156156
enablePrintRotation="true"
157-
printScaleFactor=0.5>
157+
printScaleFactor="0.5">
158158
</ejs-pdfviewer>
159159
</div>
160160

@@ -167,7 +167,7 @@ The `enablePrintRotation` property controls whether landscape pages are automati
167167
serviceUrl="/api/PdfViewer"
168168
documentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
169169
enablePrintRotation="true"
170-
printScaleFactor=0.5>
170+
printScaleFactor="0.5">
171171
</ejs-pdfviewer>
172172
</div>
173173

@@ -192,7 +192,7 @@ The `printMode` property controls how the print dialog is displayed when printin
192192
style="height:600px"
193193
documentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
194194
printMode="NewWindow"
195-
printScaleFactor=0.5>
195+
printScaleFactor="0.5">
196196
</ejs-pdfviewer>
197197
</div>
198198

@@ -205,7 +205,7 @@ The `printMode` property controls how the print dialog is displayed when printin
205205
serviceUrl="/api/PdfViewer"
206206
documentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
207207
printMode="NewWindow"
208-
printScaleFactor=0.5>
208+
printScaleFactor="0.5">
209209
</ejs-pdfviewer>
210210
</div>
211211

Document-Processing/PDF/PDF-Viewer/asp-net-core/server-actions.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ public IActionResult RenderThumbnailImages([FromBody] Dictionary<string, string>
130130
**Workflow:**
131131
1. Client requests thumbnails (typically during document load)
132132
2. [`PdfRenderer.GetThumbnailImages()`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.PdfViewer.PdfRenderer.html#Syncfusion_EJ2_PdfViewer_PdfRenderer_GetThumbnailImages_System_Collections_Generic_Dictionary_System_String_System_String__) generates small preview images for all pages
133-
4. All thumbnail images are encoded as base64 strings
134-
5. Response includes array of thumbnail images for every page
133+
3. All thumbnail images are encoded as base64 strings
134+
4. Response includes array of thumbnail images for every page
135135

136136
```cs
137137
public IActionResult RenderThumbnailImages([FromBody] Dictionary<string, string> jsonObject)
@@ -150,7 +150,7 @@ public IActionResult RenderThumbnailImages([FromBody] Dictionary<string, string>
150150
public IActionResult Bookmarks([FromBody] Dictionary<string, string> jsonObject)
151151
```
152152

153-
Extract document outline/bookmarks for hierarchical navigation and populate bookmarks panel for users to jump to document sections
153+
Extracts document outline/bookmarks for hierarchical navigation and populate bookmarks panel for users to jump to document sections
154154

155155
**How it works:**
156156
1. [`PdfRenderer.GetBookmarks()`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.PdfViewer.PdfRenderer.html#Syncfusion_EJ2_PdfViewer_PdfRenderer_GetBookmarks_System_Collections_Generic_Dictionary_System_String_System_String__) extracts document outline from PDF
@@ -178,7 +178,7 @@ public IActionResult Bookmarks([FromBody] Dictionary<string, string> jsonObject)
178178
public IActionResult RenderAnnotationComments([FromBody] Dictionary<string, string> jsonObject)
179179
```
180180

181-
Retrieve annotation comment threads for display in the comments panel.
181+
Retrieves annotation comment threads for display in the comments panel.
182182

183183
**Workflow:**
184184
1. `PdfRenderer.GetAnnotationComments()` retrieves all comment data from document
@@ -211,7 +211,7 @@ public IActionResult RenderAnnotationComments([FromBody] Dictionary<string, stri
211211
public IActionResult Unload([FromBody] Dictionary<string, string> jsonObject)
212212
```
213213

214-
Clear cached document data and free server memory.
214+
Clears cached document data and free server memory.
215215

216216
**Workflow:**
217217
1. [Unload](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.PdfViewer.PdfViewerServerActionSettingsBuilder.html#Syncfusion_EJ2_PdfViewer_PdfViewerServerActionSettingsBuilder_Unload_System_String_) should be called when viewer is closed or document is unloaded
@@ -239,7 +239,7 @@ public IActionResult Unload([FromBody] Dictionary<string, string> jsonObject)
239239
public IActionResult ExportAnnotations([FromBody] Dictionary<string, string> jsonObject)
240240
```
241241

242-
Export annotations to JSON or XFDF format for storage or sharing using the [ExportAnnotations](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.PdfViewer.PdfViewerServerActionSettingsBuilder.html#Syncfusion_EJ2_PdfViewer_PdfViewerServerActionSettingsBuilder_ExportAnnotations_System_String_) action.
242+
Exports annotations to JSON or XFDF format for storage or sharing using the [ExportAnnotations](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.PdfViewer.PdfViewerServerActionSettingsBuilder.html#Syncfusion_EJ2_PdfViewer_PdfViewerServerActionSettingsBuilder_ExportAnnotations_System_String_) action.
243243

244244
**Workflow:**
245245
1. User clicks "Export annotations" in toolbar
@@ -264,7 +264,7 @@ public IActionResult ExportAnnotations([FromBody] Dictionary<string, string> jso
264264
public IActionResult ImportAnnotations([FromBody] Dictionary<string, string> jsonObject)
265265
```
266266

267-
Import annotations from JSON or XFDF file into the current document using [ImportAnnotations](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.PdfViewer.PdfViewerServerActionSettingsBuilder.html#Syncfusion_EJ2_PdfViewer_PdfViewerServerActionSettingsBuilder_ImportAnnotations_System_String_) action. Validate file paths and restrict access to trusted locations only
267+
Imports annotations from JSON or XFDF file into the current document using [ImportAnnotations](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.PdfViewer.PdfViewerServerActionSettingsBuilder.html#Syncfusion_EJ2_PdfViewer_PdfViewerServerActionSettingsBuilder_ImportAnnotations_System_String_) action. Validate file paths and restrict access to trusted locations only
268268

269269
**Workflow:**
270270
1. User selects annotation file to import from toolbar
@@ -329,7 +329,7 @@ public IActionResult ImportAnnotations([FromBody] Dictionary<string, string> jso
329329
public IActionResult ImportFormFields([FromBody] Dictionary<string, string> jsonObject)
330330
```
331331

332-
Populate form fields from saved field data using [ImportFormFields](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.PdfViewer.PdfViewerServerActionSettingsBuilder.html#Syncfusion_EJ2_PdfViewer_PdfViewerServerActionSettingsBuilder_ImportFormFields_System_String_) action. Validate and sanitize input file paths to prevent directory traversal.
332+
Populates form fields from saved field data using [ImportFormFields](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.PdfViewer.PdfViewerServerActionSettingsBuilder.html#Syncfusion_EJ2_PdfViewer_PdfViewerServerActionSettingsBuilder_ImportFormFields_System_String_) action. Validate and sanitize input file paths to prevent directory traversal.
333333

334334
**How it works:**
335335
1. User imports form field data from a previously saved file
@@ -355,7 +355,7 @@ public IActionResult ImportFormFields([FromBody] Dictionary<string, string> json
355355
public IActionResult ExportFormFields([FromBody] Dictionary<string, string> jsonObject)
356356
```
357357

358-
Export form field values to JSON format for storage or submission using [ExportFormFields](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.PdfViewer.PdfViewerServerActionSettingsBuilder.html#Syncfusion_EJ2_PdfViewer_PdfViewerServerActionSettingsBuilder_ExportFormFields_System_String_).
358+
Exports form field values to JSON format for storage or submission using [ExportFormFields](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.PdfViewer.PdfViewerServerActionSettingsBuilder.html#Syncfusion_EJ2_PdfViewer_PdfViewerServerActionSettingsBuilder_ExportFormFields_System_String_).
359359

360360
**Workflow:**
361361
1. User submits form or exports form data
@@ -380,7 +380,7 @@ public IActionResult ExportFormFields([FromBody] Dictionary<string, string> json
380380
public IActionResult Download([FromBody] Dictionary<string, string> jsonObject)
381381
```
382382

383-
Stream the current PDF document to client for download using [Download](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.PdfViewer.PdfViewerServerActionSettingsBuilder.html#Syncfusion_EJ2_PdfViewer_PdfViewerServerActionSettingsBuilder_Download_System_String_) action.
383+
Streams the current PDF document to client for download using [Download](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.PdfViewer.PdfViewerServerActionSettingsBuilder.html#Syncfusion_EJ2_PdfViewer_PdfViewerServerActionSettingsBuilder_Download_System_String_) action.
384384

385385
**Workflow:**
386386
1. User clicks download button in toolbar

0 commit comments

Comments
 (0)