API Reference

Class

OcrProcessFileNames

Namespace OfficeIMO.Ocr.Process
Assembly OfficeIMO.Ocr.Process
Modifiers static

Safe temporary filename helpers shared by process-based OCR providers.

Inheritance

  • Object
  • OcrProcessFileNames

Methods

public static String GetSafeExtension(String fileName, String mediaType) #
Returns: String

Returns a bounded, filesystem-safe extension for an OCR input.

Parameters

fileName System.String requiredposition: 0
mediaType System.String requiredposition: 1