Aspose.OCR for .NET 21.5 - Release Notes

All Features

Key Summary Category
OCRNET-331 Add .pdf format support for RecognitionResult Enhancement


  • added ability to save the recognition result in the PDF (Adobe Portable Document) format

Public API and Backwards Incompatible Changes


  • modified public enum SaveFormat: added value ‘Pdf’

Removed APIs

Will be deprecated

Usage Example for recognition and spell-checking with language indication

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 

            // Get image for recognize
            string image = "D://img.png";

            // Recognize image           
            RecognitionResult result = api.RecognizeImage(image, new RecognitionSettings());

            // Save result

            result.Save("D://test.pdf", SaveFormat.Pdf);