Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions Document-Processing-toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,6 @@
<li>
<a href="/document-processing/data-extraction/net/conversions/pdf-to-markdown">PDF or Image to Markdown</a>
</li>
<li>
<a href="/document-processing/data-extraction/net/conversions/pdf-to-word">PDF or Image to Word</a>
</li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ The following assemblies need to be referenced in your application to extract da
</td>
<td>
Syncfusion.SmartDataExtractor.Base<br/>
Syncfusion.DocIO.Base<br/>
Syncfusion.Compression.Base<br/>
Syncfusion.OfficeChart.Base<br/>
Syncfusion.ImagePreProcessor.Base<br/>
Syncfusion.OCRProcessor.Base<br/>
Syncfusion.Pdf.Base<br/>
Expand All @@ -47,9 +45,7 @@ The following assemblies need to be referenced in your application to extract da
</td>
<td>
Syncfusion.SmartDataExtractor.Portable<br/>
Syncfusion.DocIO.Portable<br/>
Syncfusion.Compression.Portable<br/>
Syncfusion.OfficeChart.Portable<br/>
Syncfusion.ImagePreProcessor.Portable<br/>
Syncfusion.OCRProcessor.Portable<br/>
Syncfusion.Pdf.Imaging.Portable<br/>
Expand All @@ -67,9 +63,7 @@ The following assemblies need to be referenced in your application to extract da
</td>
<td>
Syncfusion.SmartDataExtractor.NET<br/>
Syncfusion.DocIO.NET<br/>
Syncfusion.Compression.NET<br/>
Syncfusion.OfficeChart.NET<br/>
Syncfusion.ImagePreProcessor.NET<br/>
Syncfusion.OCRProcessor.NET<br/>
Syncfusion.Pdf.Imaging.NET<br/>
Expand Down
112 changes: 0 additions & 112 deletions Document-Processing/Data-Extraction/NET/conversions/pdf-to-word.md

This file was deleted.

41 changes: 0 additions & 41 deletions Document-Processing/Data-Extraction/NET/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,47 +255,6 @@ FormObjects represent interactive form fields detected on the page, such as text

N> The **FormObjects** structure is not available in the Smart Table Extractor output.

### BarcodeObjects

BarcodeObjects represent barcodes detected on a page by the Smart Data Extractor. They contain information about the barcode value, barcode type, location on the page, and the confidence score of the detection.

<table>
<thead>
<tr>
<th><b>Attribute</b></th>
<th><b>Type</b></th>
<th><b>Description</b></th>
</tr>
</thead>
<tbody>
<tr>
<td>Type</td>
<td>String</td>
<td>Defines the kind of object detected on the page (<code>Barcode</code>).</td>
</tr>
<tr>
<td>Bounds</td>
<td>Array of Floats</td>
<td>The bounding box coordinates <code>[X, Y, Width, Height]</code> representing the barcode's position and size on the page.</td>
</tr>
<tr>
<td>Content</td>
<td>String</td>
<td>The decoded value extracted from the barcode.</td>
</tr>
<tr>
<td>BarcodeType</td>
<td>String</td>
<td>Specifies the barcode symbology detected, such as <code>RSS_14</code>, <code>QR_CODE</code>, <code>CODE_128</code>, <code>EAN_13</code>, etc.</td>
</tr>
<tr>
<td>Confidence</td>
<td>Float</td>
<td>Confidence score (0–1) indicating the accuracy of the barcode detection.</td>
</tr>
</tbody>
</table>

### Text Attribute

Represents the text formatting attributes (font family, font style, font size) applied to the extracted text.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -794,51 +794,3 @@ using (FileStream stream = new FileStream("Input.pdf", FileMode.Open, FileAccess
{% endtabs %}


## Barcode recognition

The Syncfusion<sup>&reg;</sup> Smart Data Extractor library enables barcode extraction from PDF documents and scanned images. The extracted barcode information is returned in JSON format, including properties such as Type, BarcodeType, Content, Threshold, and Bounds.

Additionally, when the output is extracted in Markdown format, barcodes are returned as Base64‑encoded image values, enabling easy rendering and storage of barcode images.

To recognize barcodes, use the following code snippet:

{% tabs %}

{% highlight c# tabtitle="C# [Cross-platform]" %}

using System.Text;
using Syncfusion.SmartDataExtractor;

//Open the input PDF file as a stream.
using (FileStream stream = new FileStream("Input.pdf", FileMode.Open, FileAccess.Read))
{
//Initialize the Data Extractor.
DataExtractor extractor = new DataExtractor();
//Extract data as JSON.
string data = extractor.ExtractDataAsJson(stream);
//Save the extracted JSON data into an output file.
File.WriteAllText("Output.json", data, Encoding.UTF8);
}

{% endhighlight %}

{% highlight c# tabtitle="C# [Windows-specific]" %}

using System.Text;
using Syncfusion.SmartDataExtractor;

//Open the input PDF file as a stream.
using (FileStream stream = new FileStream("Input.pdf", FileMode.Open, FileAccess.Read))
{
//Initialize the Data Extractor.
DataExtractor extractor = new DataExtractor();
//Extract data as JSON.
string data = extractor.ExtractDataAsJson(stream);
//Save the extracted JSON data into an output file.
File.WriteAllText("Output.json", data, Encoding.UTF8);
}

{% endhighlight %}

{% endtabs %}