GroupDocs.Parser provides the functionality to handle loading of HTML external resources.
Here are the steps to handle loading of HTML external resources.
Instantiate the ParserSettings object and pass External Resource Handler; Create Parser object and call GetImages method. The following code sample shows how to handle loading of HTML external resources.
// Create an instance of ParserSettings to pass External Resource Handler ParserSettings settings = new ParserSettings(new Handler()); // Create an instance of Parser class to generate spreadsheet page previews try (Parser parser = new Parser(Constants....Assembly Product Solution GroupDocs...
Learn how to extract fillable fields from PDF forms using GroupDocs.Parser for .NET. Includes code examples with error handling for password-protected PDFs....Assembly Product Solution GroupDocs...
GroupDocs.Parser provides the functionality to open the password-protected documents.
The following are the steps to work with password protected documents.
Instantiate the LoadOptions object; Set password in LoadOptions(String) constructor; Create Parser object and call any method. The following code sample shows how to process password protected documents.
try { String password = "123456"; // Create an instance of Parser class with the password: try (Parser parser = new Parser(Constants.SamplePassword, new LoadOptions(password))) { // Check if text extraction is supported if (!...Assembly Product Solution GroupDocs...
Learn how to extract text from PDF, Word, Excel, PowerPoint, and 50+ document formats using GroupDocs.Parser for .NET. Simple C# code examples for extract text from PDF C# scenarios....Assembly Product Solution GroupDocs...
Detecting the GIF version The following sample of code will help you to detect the version of a loaded GIF image and extract some additional file format information.
Load a GIF image Extract the root metadata package Use the getGifImageType method to obtain file format information advanced_usage.managing_metadata_for_specific_formats.image.gif.GifReadFileFormatProperties
try (Metadata metadata = new Metadata(Constants.InputGif)) { GifRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getGifImageType().getFileFormat()); System.out.println(root.getGifImageType().getVersion()); System.out.println(root.getGifImageType().getByteOrder()); System.out.println(root.getGifImageType().getMimeType()); System.out.println(root.getGifImageType().getExtension()); System.out.println(root.getGifImageType().getWidth()); System.out.println(root.getGifImageType().getHeight()); } Working with XMP Metadata GroupDocs....Assembly Product Solution GroupDocs...
This article explains how the The GroupDocs.Metadata API allows reading some common MPEG audio properties from MP3 files....Assembly Product Solution GroupDocs...
Learn how to merge image files, combine image files into one file programmatically in Java language using GroupDocs.Merger for Java library....Assembly Product Solution GroupDocs...