Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OcrProcessFileNames

Namespace OfficeIMO.Ocr.Process
Assembly OfficeIMO.Ocr.Process
Source revision dce3df7a1b5d with working tree changes
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