Related Articles:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Scan Barcode using Java | |
try(Parser parser = new Parser("/path/barcode.png")) | |
{ | |
// Extract all Barcodes. | |
Iterable<PageBarcodeArea> barcodes = parser.getBarcodes(); | |
// Iterate | |
for(PageBarcodeArea barcode : barcodes) | |
{ | |
// Print the Identified Barcode values |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Scan Barcode using C# | |
using (Parser parser = new Parser("/path/barcode.png")) | |
{ | |
// Extract all Barcodes. | |
IEnumerable<PageBarcodeArea> barcodes = parser.GetBarcodes(); | |
// Iterate over Barcodes | |
foreach (PageBarcodeArea barcode in barcodes) | |
{ | |
// Print the Identified Barcode values |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Accept and reject identified changes by comparing PDF documents using Java | |
Comparer comparer = new Comparer("path/document-1.pdf"); | |
comparer.add("path/document-2.pdf"); | |
ChangeInfo[] changes = comparer.getChanges(); | |
changes[0].setComparisonAction(ComparisonAction.REJECT); | |
changes[1].setComparisonAction(ComparisonAction.ACCEPT); |
Related Articles:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Convert WebP to PDF in C# | |
using (Converter converter = new Converter("path/image.webp")) | |
{ | |
PdfConvertOptions options = new PdfConvertOptions(); | |
converter.Convert(@"path/converted-webp-image.pdf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// How to view Word Documents as PDF in Java | |
import com.groupdocs.viewer.Viewer; | |
import com.groupdocs.viewer.options.PdfViewOptions; | |
... | |
try (Viewer viewer = new Viewer("path/document.docx")) | |
{ | |
viewer.view(new PdfViewOptions("path/Word-Document.pdf")); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// How to view Word Documents as PDF using C# | |
using GroupDocs.Viewer.Options; | |
... | |
using (Viewer viewer = new Viewer("path/document.docx")) | |
{ | |
PdfViewOptions options = new PdfViewOptions("path/Word-Document.pdf"); | |
viewer.View(options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.groupdocs.conversion.Converter; | |
import com.groupdocs.conversion.options.convert.MarkupConvertOptions; | |
... | |
// Convert PDF to HTML in Java | |
Converter converter = new Converter("path/document.pdf"); | |
converter.convert("path/converted-pdf-to.html", new MarkupConvertOptions()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using GroupDocs.Conversion.Options.Convert; | |
... | |
// Convert PDF to HTML using C# | |
using (var converter = new GroupDocs.Conversion.Converter("path/document.pdf")) | |
{ | |
var options = new WebConvertOptions(); | |
converter.Convert("path/converted-pdf-to.html", options); | |
} |