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/Common/Font-Manager/font-manager.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ documentation: UG
11
11
12
12
Font creation is a primary cause of excessive memory consumption and performance degradation during Office to PDF/Image conversions and PDF processing workflows. This problem is particularly pronounced in multi-threaded web applications where multiple users perform concurrent operations across different threads or browser tabs.
13
13
14
-
To address this challenge, Syncfusion Document Processing libraries introduce the **FontManager** class, which provides centralized font management shared across all threads and conversion libraries. This approach eliminates duplicate font objects and significantly reduces memory overhead.
14
+
To address this challenge, Syncfusion Document Processing libraries introduce the [FontManager](https://help.syncfusion.com/cr/document-processing/Syncfusion.Drawing.Fonts.FontManager.html) class, which provides centralized font management shared across all threads and conversion libraries. This approach eliminates duplicate font objects and significantly reduces memory overhead.
15
15
16
16
## Key Features
17
17
@@ -55,14 +55,12 @@ FontManager optimizes memory usage across the following Office to PDF/Image conv
55
55
<td>
56
56
<b>PDF Library Operations</b>
57
57
<ul>
58
-
<li>PDF creation and manipulation</li>
59
-
<li>PDF merging and splitting</li>
60
-
<li>PDF form filling and flattening</li>
61
-
<li>PDF page extraction and insertion</li>
62
-
<li>Adding text, images, and annotations to PDF</li>
63
-
<li>PDF redaction and security</li>
64
-
<li>PDF/A conformance</li>
65
-
<li>OCR text extraction</li>
58
+
<li>PDF/A Creation and Conversion</li>
59
+
<li>Annotations and Forms: Fill and Flatten</li>
60
+
<li>XPS to PDF Conversion</li>
61
+
<li>EMF to PDF Conversion</li>
62
+
<li>Insert Text in PDF</li>
63
+
<li>Tables and Light Tables (Data Grids in PDF)</li>
66
64
</ul>
67
65
</td>
68
66
</tr>
@@ -72,7 +70,7 @@ N> FontManager automatically manages fonts across all these conversion types, wh
72
70
73
71
## Configuring Automatic Font Cleanup
74
72
75
-
The `FontManager.Delay` property defines the duration (in milliseconds) after which unused font objects are automatically disposed and removed from the cache. When fonts are no longer referenced, an internal `System.Timers.Timer` triggers disposal based on this value.
73
+
The [FontManager.Delay](https://help.syncfusion.com/cr/document-processing/Syncfusion.Drawing.Fonts.FontManager.html#Syncfusion_Drawing_Fonts_FontManager_Delay) property defines the duration (in milliseconds) after which unused font objects are automatically disposed and removed from the cache. When fonts are no longer referenced, an internal `System.Timers.Timer` triggers disposal based on this value.
The `FontManager.ClearCache()` method immediately clears all font caches managed by the FontManager. This method forcefully removes and disposes all font instances maintained in shared caches, allowing you to reclaim memory deterministically without waiting for the automatic cleanup delay.
121
+
The [FontManager.ClearCache()](https://help.syncfusion.com/cr/document-processing/Syncfusion.Drawing.Fonts.FontManager.html#Syncfusion_Drawing_Fonts_FontManager_ClearCache) method immediately clears all font caches managed by the FontManager. This method forcefully removes and disposes all font instances maintained in shared caches, allowing you to reclaim memory deterministically without waiting for the automatic cleanup delay.
124
122
125
123
**Use cases:**
126
124
@@ -165,6 +163,8 @@ app.Run();
165
163
{% endhighlight %}
166
164
{% endtabs %}
167
165
166
+
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Unified-font-manager/.NET/).
167
+
168
168
## Best Practices
169
169
170
170
1. Set FontManager.Delay early: Configure the delay property in your application's startup code before any document processing begins (Optional).
Copy file name to clipboardExpand all lines: Document-Processing/PDF/PDF-Viewer/react/Redaction/overview.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,9 @@ domainurl: ##DomainURL##
12
12
13
13
Redaction annotations hide confidential or sensitive information in a PDF. The Syncfusion React PDF Viewer (EJ2) enables marking areas or entire pages for redaction, customizing appearance, and applying changes permanently.
14
14
15
+
Check out the following video to learn how to Redact PDF Content in the React PDF Viewer.
To enable the redaction toolbar, configure the [`toolbarSettings.toolbarItems`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/toolbarsettings#toolbaritems) property of the PdfViewer instance to include the **RedactionEditTool**. See this [guide](./toolbar#enable-redaction-toolbar) to enable redaction toolbar.
Copy file name to clipboardExpand all lines: Document-Processing/PDF/PDF-Viewer/react/how-to/extract-text.md
+46-59Lines changed: 46 additions & 59 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,86 +7,73 @@ platform: document-processing
7
7
documentation: ug
8
8
---
9
9
10
-
## Extract text method in the PDF Viewer
10
+
# Extract text method in the PDF Viewer
11
+
12
+
## Overview
11
13
12
14
The `extractText` method retrieves text content and, optionally, positional data for elements on one or more pages. It returns a Promise that resolves to an object containing extracted `textData` (detailed items with bounds) and `pageText` (concatenated plain text).
13
15
14
-
**Parameters overview:**
16
+
## Parameters
15
17
16
18
-`startIndex` — Starting page index (0-based).
17
-
-`endIndex` or options — Either the ending page index for a range extraction, or an options object specifying extraction criteria for a single page.
19
+
-`endIndex` or `options` — Either the ending page index for a range extraction, or an options object specifying extraction criteria for a single page.
18
20
-`options` (optional) — Extraction options such as `TextOnly` or `TextAndBounds` to control whether bounds are included.
19
21
20
-
**Returned object shape (example):**
22
+
## Returned object
21
23
22
24
-`textData` — Array of objects describing extracted text items, including bounds and page-level text.
23
25
-`pageText` — Concatenated plain text for the specified page(s).
24
26
25
-
### Usage of extractText in Syncfusion PDF Viewer Control
27
+
##Complete example
26
28
27
29
Here is an example that demonstrates how to use the extractText method along with event handling:
0 commit comments