There might be cases when the document is presented only as a stream (without a copy on the local disk). To avoid the overhead of saving documents to the disk, GroupDocs.Parser enables to extract data from streams directly.
The following example shows how to load the document from the stream:
// Create the stream try (InputStream stream = new FileInputStream(Constants.SamplePdf)) { // Create an instance of Parser class with the stream try (Parser parser = new Parser(stream)) { // Extract a text into the reader try (TextReader reader = parser....Close Navigation Products GroupDocs.Total Product Family GroupDocs...
The page describes how to add search text annotation to a document using GroupDocs.Annotation for .NET."...Close Navigation Products GroupDocs.Total Product Family GroupDocs...
Learn how to compare Markdown (.md) documents using GroupDocs.Comparison for Python via .NET. Detect and highlight differences between Markdown files with simple Python code....Close Navigation Products GroupDocs.Total Product Family GroupDocs...
This article explains how to use exceptions handling when adding electronic signatures to document with GroupDocs.Signature API....Close Navigation Products GroupDocs.Total Product Family GroupDocs...
For all supported image formats the GroupDocs.Metadata API allows extracting common image properties such as width and height, MIME type, byte order, etc. Please see the code snippet below for more information on the feature.
Load an image Extract the root metadata package Use the FileType property to obtain file format information AdvancedUsage.ManagingMetadataForSpecificFormats.Image.ImageReadFileFormatProperties
using (Metadata metadata = new Metadata(Constants.InputPng)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); Console.WriteLine(root.FileType.ByteOrder); Console.WriteLine(root.FileType.MimeType); Console.WriteLine(root.FileType.Extension); Console.WriteLine(root.FileType.Width); Console.WriteLine(root.FileType.Height); } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Close Navigation Products GroupDocs.Total Product Family GroupDocs...
Add image watermarks from file or stream using GroupDocs.Watermark for Python via .NET....Close Navigation Products GroupDocs.Total Product Family GroupDocs...
This article gives the knowledge about numeric range search which allows you to search in documents any integer numbers in the range from 0 to 9223372036854775807 (Int64.MaxValue) using Java search API....Close Navigation Products GroupDocs.Total Product Family GroupDocs...