This example demonstrates how to load a file from a stream.
advanced_usage.loading_files.LoadFromStream
JavaScript try { const fileStream = fs.createReadStream("input.one") const metadata = new groupdocs.metadata.Metadata(fileStream); } More resources Advanced usage topics To learn more about library features and get familiar how to manage metadata and more, please refer to theadvanced usage section.
GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Editor Product Solution GroupDocs...
The page describes how to load PDF, Word, Excel, PowerPoint documents from local disk using GroupDocs.Annotation for .NET....Editor Product Solution GroupDocs...
Classifying of the document from stream could be performed with the next step
Call Classify method for “stream” stream with Documents taxonomy and return 2 best results. Handle possible ApiException // Classify document from stream with Documents taxonomy and return 2 best resultstry { var response = classifier.Classify(stream, 2, Taxonomy.Documents); Console.WriteLine(response.BestClassName, response.BestClassProbability); } catch (ApiException e) { Console.WriteLine(e.Message); }...Editor Product Solution GroupDocs...
Note This feature is supported by version 19.5. or greater Note The code uses some of the objects defined in The Business Layer. GroupDocs.Assembly provides a great feature which is loading of HTML template documents referencing external resource files to be assembled and saved to non-HTML formats. Since version 19.5, when loading an HTML document from a file, its containing folder is used as a base URI to resolve external resource files’ relative URIs to absolute ones by default as shown in the following example....Editor Product Solution GroupDocs...
This page explains how to convert a file to PDF, Word, Excel, PowerPoint, Email, JPG, PNG, TIFF, and many other formats with just a couple of lines of JavaScript code....Editor Product Solution GroupDocs...
This page explains how to convert a file to PDF, Word, Excel, PowerPoint, Email, JPG, PNG, TIFF, and many other formats with just a couple of lines of Java code....Editor Product Solution GroupDocs...
GroupDocs.Assembly API allows you to use a string as input and output template, instead of document. This feature improves programmability while working with strings instead of documents, the resultant output string can be used as per the application needs. Follow these steps to using a string as input and output template:
Initialize DocumentAssembler Define sourceString “«[yourValue]»” Convert sourceString to sourceBytes using ByteArrayInputStream(sourceBytes) Get targetBytes using DocumentAssembler.assembleDocument() Get** targetString **using new String(targetBytes, StandardCharsets....Editor Product Solution GroupDocs...
Note The code uses some of the objects defined in The Business Layer. Loading Multiple DocumentTable Objects API provides the ability to load multiple DocumentTable objects from a single file as a single operation. Following classes and interfaces of the GroupDocs.Assembly.Data namespace have been added:
DocumentTableSet DocumentTableCollection IDocumentTableLoadHandler DocumentTableLoadArgs. Moreover, following properties of the GroupDocs.Assembly.Data.DocumentTable class have been added:
Name IndexInDocument Download Data Source Document Multiple Tables Data.docx Template Using Document Table Set as Data Source....Editor Product Solution GroupDocs...
This article explains how to load a document using the local path string with GroupDocs.Viewer within your Java applications....Editor Product Solution GroupDocs...