Skip to content

Instantly share code, notes, and snippets.

View groupgocs-parser-gists's full-sized avatar

GroupDocs.Parser groupgocs-parser-gists

View GitHub Profile
@groupgocs-parser-gists
groupgocs-parser-gists / extract_tables_form_documents_page.md
Created June 16, 2022 04:03
How to extract tables from a particular document’s page via Java API?

Learn How to Extract Tables from Document’s Pages using Java API?

GroupDocs.Parser .NET API allows computer programmers to extract tables from a particular document’s page inside Java applications without installing any 3rd party software.

The below Java code shows how software developers can extract tables from a particular document’s page with just a couple of lines of code.

View a list of all supported document conversion file formats https://docs.groupdocs.com/parser/java/supported-document-formats/

APIs to Use

@groupgocs-parser-gists
groupgocs-parser-gists / extract_tables_form_documents_via_java.md
Created June 16, 2022 03:59
How to extract tables from various document formats using Java API

How to GET Tables from Popular Documents Types via Java API?

GroupDocs.Parser for Java enables software programmers to generate useful applications for parsing various kinds of documents and extract test, images, barcodes and tables from them.

The following Java code example demonstrates how to extract tables from various documents as well as email messages with ease.

View a list of all supported document conversion file formats https://docs.groupdocs.com/parser/java/supported-document-formats/

APIs to Use

Learn How to Extract Tables from Document’s Pages using C#.NET API?

GroupDocs.Parser .NET API enables software developers to extract tables from a particular document’s page inside C# or VB.NET applications without any external dependencies.

The below .NET code shows how easily programmers can extract tables from a specific document’s page inside their own apps.

View a list of all supported document file formats https://docs.groupdocs.com/parser/net/supported-document-formats/

APIs to Use

@groupgocs-parser-gists
groupgocs-parser-gists / barcodes_extraction_from_documents_page_area.java
Last active June 7, 2022 17:32
How to parse and extract barcodes images from a particular documents page area?
// Supported file formats: https://docs.groupdocs.com/parser/java/supported-document-formats/
try (Parser parser = new Parser(Constants.SamplePdfWithBarcodes)) {
if (!parser.getFeatures().isBarcodes()) {
System.out.println("Document doesn't support barcodes extraction.");
return;
}
PageAreaOptions options = new PageAreaOptions(new Rectangle(new Point(590, 80), new Size(150, 150)));
Iterable<PageBarcodeArea> barcodes = parser.getBarcodes(options);
// Supported file formats: https://docs.groupdocs.com/parser/java/supported-document-formats/
try (Parser parser = new Parser(Constants.SamplePdfWithBarcodes)) {
if (!parser.getFeatures().isBarcodes()) {
System.out.println("Document doesn't support barcodes extraction.");
return;
}
Iterable<PageBarcodeArea> barcodes = parser.getBarcodes(1);
@groupgocs-parser-gists
groupgocs-parser-gists / barcode_extraction_form_documents.java
Last active June 7, 2022 17:17
How to perform documents parsing and barcode extraction using Java API
// Supported file formats: https://docs.groupdocs.com/parser/java/supported-document-formats/
try(Parser parser = new Parser(Constants.SamplePdfWithBarcodes))
{
if (!parser.getFeatures().isBarcodes()) {
System.out.println("Document doesn't support barcodes extraction.");
return;
}
Iterable<PageBarcodeArea> barcodes = parser.getBarcodes();
@groupgocs-parser-gists
groupgocs-parser-gists / barcodes_extraction_from_documents_page_area.cs
Last active June 2, 2022 03:56
How to extract barcodes images from some of the leading documents formats using .NET API
// Supported file formats: https://docs.groupdocs.com/parser/net/supported-document-formats/ 
try (Parser parser = new Parser(Constants.SamplePdfWithBarcodes)) {
if (!parser.getFeatures().isBarcodes()) {
System.out.println("Document doesn't support barcodes extraction.");
return;
}
PageAreaOptions options = new PageAreaOptions(new Rectangle(new Point(590, 80), new Size(150, 150)));
Iterable<PageBarcodeArea> barcodes = parser.getBarcodes(options);
@groupgocs-parser-gists
groupgocs-parser-gists / barcodes_extraction_form_documents_page.cs
Created June 2, 2022 03:51
Use C# .NET API to extract barcodes from a particular document’s page
// Supported file formats: https://docs.groupdocs.com/parser/net/supported-document-formats/ 
try (Parser parser = new Parser(Constants.SamplePdfWithBarcodes)) {
if (!parser.getFeatures().isBarcodes()) {
System.out.println("Document doesn't support barcodes extraction.");
return;
}
Iterable<PageBarcodeArea> barcodes = parser.getBarcodes(1);
@groupgocs-parser-gists
groupgocs-parser-gists / barcode_extraction_form_documents.cs
Last active June 2, 2022 03:47
How to parse documents and extract barcodes using .NET API
// Supported file formats: https://docs.groupdocs.com/parser/net/supported-document-formats/ 
try(Parser parser = new Parser(Constants.SamplePdfWithBarcodes))
{
if (!parser.getFeatures().isBarcodes()) {
System.out.println("Document doesn't support barcodes extraction.");
return;
}
Iterable<PageBarcodeArea> barcodes = parser.getBarcodes();
@groupgocs-parser-gists
groupgocs-parser-gists / images_saving_to_files.java
Created May 31, 2022 04:09
Java code for extracting & saving images as PNG, JPEG, WebP, GIF & BMP file
// Supported file formats: https://docs.groupdocs.com/parser/java/supported-document-formats/
try (Parser parser = new Parser(Constants.SampleZip)) {
Iterable<PageImageArea> images = parser.getImages();
if (images == null) {
System.out.println("Page images extraction isn't supported");
return;
}
ImageOptions options = new ImageOptions(ImageFormat.Png);