Aspose.OCR for .NET 21.12 - Release Notes

All Features

Key Summary Category
OCRNET-402 .NET 5 support Enhancement
OCRNET-306 Add .xlsx support for output format Enhancement


  • improved skew correction algorithm
  • added the ability to get an Excel document (.xlsx) as a result of recognition
  • checked .NET 5 support

Public API and Backwards Incompatible Changes


  • added case to the SaveFormat enum: xlsx

Removed APIs

Will be deprecated

Usage Example

using Aspose.OCR;

namespace ProgramOCR
    class Program
        static void Main(string[] args)
            // Get API
            AsposeOcr api = new AsposeOcr();

             // Create license
            License lic = new License();

            // Set license 
            // recognize multipage PDF and save result as Excel file
            List<RecognitionResult> result = api.RecognizePdf(@"test.pdf", new DocumentRecognitionSettings
                StartPage = 0,
                PagesNumber = 2

            AsposeOcr.SaveMultipageDocument("ocr_result.xlsx", SaveFormat.Xlsx, result);