Skip to content

Commit 80eb1e6

Browse files
Merge branch 'development' into 1015083-signatureReact
2 parents efa5726 + c463f8c commit 80eb1e6

21 files changed

Lines changed: 516 additions & 86 deletions

Document-Processing-toc.html

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@
135135
<a href="/document-processing/data-extraction/smart-data-extractor/net/Features">Features</a>
136136
</li>
137137
<li>
138-
<a href="/document-processing/data-extraction/smart-data-extractor/net/FAQ">FAQ</a>
138+
FAQ
139139
<ul>
140140
<li>
141-
<a href="/document-processing/data-extraction/smart-data-extractor/net/FAQ/how-to-resolve-the-onnx-file-missing-error-in-smart-data-extractor">How to resolve the ONNX file missing error</a>
141+
<a href="/document-processing/data-extraction/smart-data-extractor/net/FAQ/how-to-resolve-the-onnx-file-missing-error-in-smart-data-extractor">How to resolve the ONNX file missing error</a>
142142
</li>
143143
</ul>
144144
</li>
@@ -165,10 +165,10 @@
165165
<a href="/document-processing/data-extraction/smart-table-extractor/net/Features">Features</a>
166166
</li>
167167
<li>
168-
<a href="/document-processing/data-extraction/smart-table-extractor/net/FAQ">FAQ</a>
168+
FAQ
169169
<ul>
170170
<li>
171-
<a href="/document-processing/data-extraction/smart-table-extractor/net/FAQ/how-to-resolve-the-onnx-file-missing-error-in-smart-table-extractor">How to resolve the ONNX file missing error</a>
171+
<a href="/document-processing/data-extraction/smart-table-extractor/net/FAQ/how-to-resolve-the-onnx-file-missing-error-in-smart-table-extractor">How to resolve the ONNX file missing error</a>
172172
</li>
173173
</ul>
174174
</li>
@@ -616,6 +616,12 @@
616616
<li><a href="/document-processing/pdf/pdf-viewer/angular/getting-started-with-server-backed">with Server-Backed PDF Viewer</a></li>
617617
</ul>
618618
</li>
619+
<li>
620+
Environment Integration
621+
<ul>
622+
<li><a href="/document-processing/pdf/pdf-viewer/angular/deployment-integration/agentic-builder">Agentic UI Builder</a></li>
623+
</ul>
624+
</li>
619625
<li><a href="/document-processing/pdf/pdf-viewer/angular/feature-module">Feature Modules</a></li>
620626
<li>
621627
<a href="/document-processing/pdf/pdf-viewer/angular/open-pdf-files">Open PDF files</a>
@@ -993,6 +999,7 @@
993999
<li><a href="/document-processing/pdf/pdf-viewer/react/depoyment-integration/remix">Remix</a></li>
9941000
<li><a href="/document-processing/pdf/pdf-viewer/react/depoyment-integration/share-point">SharePoint Framework (SPFx)</a></li>
9951001
<li><a href="/document-processing/pdf/pdf-viewer/react/depoyment-integration/gatsby">Gatsby</a></li>
1002+
<li><a href="/document-processing/pdf/pdf-viewer/react/depoyment-integration/agentic-builder">Agentic UI Builder</a></li>
9961003
</ul>
9971004
</li>
9981005
<li><a href="/document-processing/pdf/pdf-viewer/react/feature-module">Feature Modules</a></li>
@@ -1148,6 +1155,7 @@
11481155
<li><a href="/document-processing/pdf/pdf-viewer/react/forms/form-constrain">Form Field Flags</a></li>
11491156
<li><a href="/document-processing/pdf/pdf-viewer/react/forms/form-validation">Form Validation</a></li>
11501157
<li><a href="/document-processing/pdf/pdf-viewer/react/how-to/custom-fonts">Custom fonts</a></li>
1158+
<li><a href="/document-processing/pdf/pdf-viewer/react/forms/form-handling-best-practices">PDF Form Handling Best Practices</a></li>
11511159
<li><a href="/document-processing/pdf/pdf-viewer/react/forms/form-field-events">Form Field events</a></li>
11521160
<li><a href="/document-processing/pdf/pdf-viewer/react/forms/form-fields-api">APIs</a></li>
11531161
<li><a href="/document-processing/pdf/pdf-viewer/react/forms/flatten-form-fields">Flatten form fields</a></li>

Document-Processing/Data-Extraction/Smart-Data-Extractor/NET/Assemblies-Required.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ The following assemblies need to be referenced in your application based on the
1919
<tbody>
2020
<tr>
2121
<td>
22-
{{'[WPF]'| markdownify }},
23-
{{'[Windows Forms]'| markdownify }} and {{'[ASP.NET MVC]'| markdownify }}
22+
{{'WPF'| markdownify }},
23+
{{'Windows Forms'| markdownify }} and {{'ASP.NET MVC'| markdownify }}
2424
</td>
2525
<td>
2626
Syncfusion.Compression.Base<br/>
@@ -35,9 +35,8 @@ The following assemblies need to be referenced in your application based on the
3535
</tr>
3636
<tr>
3737
<td>
38-
{{'[Blazor]'| markdownify }},
39-
{{'[.NET Core]'| markdownify }}
40-
and {{'[.NET Platforms]'| markdownify }}
38+
{{'.NET Core'| markdownify }}
39+
and {{'.NET Platforms'| markdownify }}
4140
</td>
4241
<td>
4342
Syncfusion.Compression.Portable<br/>
@@ -52,7 +51,7 @@ The following assemblies need to be referenced in your application based on the
5251
</tr>
5352
<tr>
5453
<td>
55-
{{'[.NET Multi-platform App UI (.NET MAUI)]'| markdownify }}
54+
{{'.NET Multi-platform App UI (.NET MAUI)'| markdownify }}
5655
</td>
5756
<td>
5857
Syncfusion.Compression.NET<br/>

Document-Processing/Data-Extraction/Smart-Data-Extractor/NET/Features.md

Lines changed: 67 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ keywords: Assemblies
99

1010
# Smart Data Extractor Features
1111

12-
## Extract data from a PDF document
12+
## Extract Data from a PDF Document
1313

14-
To extract structured data such as text, form fields, tables and images from an entire PDF document using the **ExtractDataAsPdfDocument** method of the **DataExtractor** class, refer to the following code
14+
To extract structured data such as text, form fields, tables and images from an entire PDF document using the **ExtractDataAsPdfDocument** method of the **DataExtractor** class, refer to the following code example:
1515

1616
{% tabs %}
1717

@@ -129,7 +129,67 @@ using (FileStream stream = new FileStream("Image.png", FileMode.Open, FileAccess
129129

130130
{% endtabs %}
131131

132-
## Extract form data as JSON
132+
## Extract Data as Stream
133+
134+
To extract structured data from a PDF document and return the output as a stream using the **ExtractDataAsPdfStream** method of the **DataExtractor** class, refer to the following example.
135+
136+
{% tabs %}
137+
138+
{% highlight c# tabtitle="C# [Cross-platform]" %}
139+
140+
using System.IO;
141+
using Syncfusion.SmartDataExtractor;
142+
143+
//Open the input PDF file as a stream.
144+
using (FileStream inputStream = new FileStream("Input.pdf", FileMode.Open, FileAccess.Read, FileShare.Read))
145+
{
146+
//Initialize the Smart Data Extractor.
147+
DataExtractor extractor = new DataExtractor();
148+
extractor.EnableFormDetection = true;
149+
extractor.EnableTableDetection = true;
150+
extractor.ConfidenceThreshold = 0.6;
151+
152+
//Extract data and return as a PDF stream.
153+
Stream pdfStream = extractor.ExtractDataAsPdfStream(inputStream);
154+
155+
//Save the extracted PDF stream into an output file.
156+
using (FileStream outputStream = new FileStream("Output.pdf", FileMode.Create, FileAccess.Write))
157+
{
158+
pdfStream.CopyTo(outputStream);
159+
}
160+
}
161+
162+
{% endhighlight %}
163+
164+
{% highlight c# tabtitle="C# [Windows-specific]" %}
165+
166+
using System.IO;
167+
using Syncfusion.SmartDataExtractor;
168+
169+
//Open the input PDF file as a stream.
170+
using (FileStream inputStream = new FileStream("Input.pdf", FileMode.Open, FileAccess.Read, FileShare.Read))
171+
{
172+
//Initialize the Smart Data Extractor.
173+
DataExtractor extractor = new DataExtractor();
174+
extractor.EnableFormDetection = true;
175+
extractor.EnableTableDetection = true;
176+
extractor.ConfidenceThreshold = 0.6;
177+
178+
//Extract data and return as a PDF stream.
179+
Stream pdfStream = extractor.ExtractDataAsPdfStream(inputStream);
180+
181+
//Save the extracted PDF stream into an output file.
182+
using (FileStream outputStream = new FileStream("Output.pdf", FileMode.Create, FileAccess.Write))
183+
{
184+
pdfStream.CopyTo(outputStream);
185+
}
186+
}
187+
188+
{% endhighlight %}
189+
190+
{% endtabs %}
191+
192+
## Extract Data as JSON
133193

134194
To extract form fields across a PDF document using the **ExtractDataAsJson** method of the **DataExtractor** class with form recognition options, refer to the following code example:
135195

@@ -150,7 +210,7 @@ using (FileStream stream = new FileStream("Input.pdf", FileMode.Open, FileAccess
150210

151211
//Enable form detection in the document.
152212
extractor.EnableFormDetection = true;
153-
extractor.EnableTableDetection = false;
213+
extractor.EnableTableDetection = true;
154214
//Set confidence threshold for extraction.
155215
extractor.ConfidenceThreshold = 0.6
156216
//Configure form recognition options.
@@ -217,7 +277,7 @@ using (FileStream stream = new FileStream("Input.pdf", FileMode.Open, FileAccess
217277

218278
{% endtabs %}
219279

220-
## Extract form data as PDF
280+
## Enable Form Detection
221281

222282
To extract form fields across a PDF document and save them as a PDF output using the **ExtractDataAsPdfDocument** method of the **DataExtractor** class with form recognition options, refer to the following code example:
223283

@@ -319,7 +379,7 @@ using (FileStream stream = new FileStream("Input.pdf", FileMode.Open, FileAccess
319379

320380
{% endtabs %}
321381

322-
## Extract table data as PDF
382+
## Enable Table Detection
323383

324384
To extract tables across a PDF document and save them as a PDF output using the **ExtractDataAsPdfDocument** method of the **DataExtractor** class with table extraction options, refer to the following code example:
325385

@@ -406,7 +466,7 @@ using (FileStream stream = new FileStream("Input.pdf", FileMode.Open, FileAccess
406466

407467
{% endtabs %}
408468

409-
## Apply confidence threshold to extract the data
469+
## Apply Confidence Threshold to Extract the Data
410470

411471
To apply confidence thresholding when extracting data from a PDF document using the ExtractDataAsPdfDocument method of the DataExtractor class, refer to the following code example:
412472

Document-Processing/Data-Extraction/Smart-Data-Extractor/NET/NuGet-Packages-Required.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ keywords: Assemblies
88
---
99
# NuGet Packages Required for Smart Data Extractor
1010

11-
## Create and modify Smart Data Extractor documents
11+
## Extract Structured data from PDF
1212

13-
To work with SmartDataExtractor, the following NuGet packages need to be installed in your application.
13+
To work with Smart Data Extractor, the following NuGet packages need to be installed in your application.
1414

1515
<table>
1616
<tr>
@@ -25,33 +25,32 @@ Windows Forms<br/>
2525
Console Application (Targeting .NET Framework)
2626
</td>
2727
<td>
28-
{{'[Syncfusion.SmartDataExtractor.WinForms.nupkg]'| markdownify }}
28+
{{'Syncfusion.SmartDataExtractor.WinForms.nupkg'| markdownify }}
2929
</td>
3030
</tr>
3131
<tr>
3232
<td>
3333
WPF
3434
</td>
3535
<td>
36-
{{'[Syncfusion.SmartDataExtractor.Wpf.nupkg]'| markdownify }}
36+
{{'Syncfusion.SmartDataExtractor.Wpf.nupkg'| markdownify }}
3737
</td>
3838
</tr>
3939
<tr>
4040
<td>
4141
ASP.NET MVC5
4242
</td>
4343
<td>
44-
{{'[Syncfusion.SmartDataExtractor.AspNet.Mvc5.nupkg]'| markdownify }}
44+
{{'Syncfusion.SmartDataExtractor.AspNet.Mvc5.nupkg'| markdownify }}
4545
</td>
4646
</tr>
4747
<tr>
4848
<td>
4949
ASP.NET Core (Targeting NET Core) <br/>
5050
Console Application (Targeting .NET Core) <br/>
51-
Blazor
5251
</td>
5352
<td>
54-
{{'[Syncfusion.SmartDataExtractor.Net.Core.nupkg]'| markdownify }}
53+
{{'Syncfusion.SmartDataExtractor.Net.Core.nupkg'| markdownify }}
5554
</td>
5655
</tr>
5756
<tr>
@@ -60,7 +59,7 @@ Windows UI (WinUI) <br/>
6059
.NET Multi-platform App UI (.NET MAUI)
6160
</td>
6261
<td>
63-
{{'[Syncfusion.SmartDataExtractor.NET.nupkg]'| markdownify }}
62+
{{'Syncfusion.SmartDataExtractor.NET.nupkg'| markdownify }}
6463
</td>
6564
</tr>
6665
</table>

Document-Processing/Data-Extraction/Smart-Table-Extractor/NET/Assemblies-Required.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ The following assemblies need to be referenced in your application based on the
1919
<tbody>
2020
<tr>
2121
<td>
22-
{{'[WPF]'| markdownify }},
23-
{{'[Windows Forms]'| markdownify }} and {{'[ASP.NET MVC]'| markdownify }}
22+
{{'WPF'| markdownify }},
23+
{{'Windows Forms'| markdownify }} and {{'ASP.NET MVC'| markdownify }}
2424
</td>
2525
<td>
2626
Syncfusion.Compression.Base<br/>
@@ -32,9 +32,8 @@ The following assemblies need to be referenced in your application based on the
3232
</tr>
3333
<tr>
3434
<td>
35-
{{'[Blazor]'| markdownify }},
36-
{{'[.NET Core]'| markdownify }}
37-
and {{'[.NET Platforms]'| markdownify }}
35+
{{'.NET Core'| markdownify }}
36+
and {{'.NET Platforms'| markdownify }}
3837
</td>
3938
<td>
4039
Syncfusion.Compression.Portable<br/>
@@ -47,7 +46,7 @@ The following assemblies need to be referenced in your application based on the
4746
</tr>
4847
<tr>
4948
<td>
50-
{{'[.NET Multi-platform App UI (.NET MAUI)]'| markdownify }}
49+
{{'.NET Multi-platform App UI (.NET MAUI)'| markdownify }}
5150
</td>
5251
<td>
5352
Syncfusion.Compression.NET<br/>

0 commit comments

Comments
 (0)