GroupDocs.Merger for .NET 19.7 Release Notes

Major Features

There are a few new features in this regular monthly release. The most notable are:

  • Implemented a new method GetDocumentInfo
  • Implemented a new format .html
  • Implemented .tiff image joining

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
MERGERNET-431Implement a new method GetDocumentInfoNew Feature
MERGERNET-513Implement a new format .htmlNew Feature
MERGERNET-544Implement .tiff image joiningNew Feature

Public API and Backward Incompatible Changes

  1. The DocumentHandler class was extended with a new GetDocumentInfo method

    GetDocumentInfo method

    /// <summary>
    /// Get information about document.
    /// </summary>
    public DocumentInfo GetDocumentInfo(Stream stream)
    
    /// <summary>
    /// Get information about document.
    /// </summary>
    public DocumentInfo GetDocumentInfo(Stream stream, string password)
    
    /// <summary>
    /// Get information about document.
    /// </summary>
    public DocumentInfo GetDocumentInfo(Stream stream, Options options)
    

    Following example demonstrates how to use a new GetDocumentInfo method:

    // Variables.
    string sourceFile = "C:\testfiles\filename";
    
    // Preparing.
    Stream documentExample = new FileStream(sourceFile, FileMode.Open);
    
    // Main method.
    DocumentInfo resultInfo = new DocumentHandler().GetDocumentInfo(documentExample);