GroupDocs.Comparison Cloud 25.2 Release Notes

Major Features

  • Added document preview API
  • Added SDK for Apex

List of issues covering changes in this release

KeySummaryCategory
COMPARISONCLOUD-225Implement missing document preview APIFeature
COMPARISONCLOUD-224Investigate possibility of creating SDK for ApexFeature

Public API and Backward Incompatible Changes

New Preview API

We are excited to announce the release of the new Preview API, which allows you to generate preview images of document pages. This feature is now available across all supported languages and platforms.

Key Features

Generate Preview Images: Create preview images for document pages in various formats such as JPEG, PNG, and BMP.

  • Customizable Output: Specify the width and height of the preview images to suit your needs.
  • Flexible Input: Provide detailed file information and specify the pages you want to preview.
  • Output Management: Define the output folder where the preview images will be saved.

Usage

To use the Preview API, you need to create a PreviewRequest object with the necessary PreviewOptions. The PreviewOptions include settings such as the format of the preview images, the dimensions, and the pages to be previewed. Once the request is configured, you can call the preview method to generate the preview images and receive an array of links to the saved results.

Example

Here is a general example of how to use the Preview API:

  1. Initialize the API: Create an instance of the PreviewApi class with your application credentials.
  2. Configure Preview Options: Set up the PreviewOptions with the desired settings.
  3. Create a Preview Request: Instantiate a PreviewRequest with the configured PreviewOptions.
  4. Generate Previews: Call the preview method with the PreviewRequest to generate the preview images and obtain the links to the saved results.

You can find more information about API at?Developer Guide