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 (!...Editor 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....Editor 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....Editor Product Solution GroupDocs...
This article explains how the The GroupDocs.Metadata API allows reading some common MPEG audio properties from MP3 files....Editor 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....Editor Product Solution GroupDocs...
GroupDocs.Total for Python via .NET does not require any external software to be installed such as Microsoft Word, Microsoft Excel or Microsoft PowerPoint for file rendering....Editor Product Solution GroupDocs...