Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

TesseractRuntime

Namespace OfficeIMO.Ocr.Tesseract
Assembly OfficeIMO.Ocr.Tesseract
Source revision dce3df7a1b5d with working tree changes
Modifiers static

Dependency-free discovery for an installed Tesseract command-line runtime.

Inheritance

  • Object
  • TesseractRuntime

Methods

public static TesseractRuntimeInfo Discover(String? executablePath = null) #
Returns: TesseractRuntimeInfo

Finds an installed Tesseract executable or throws with platform-specific installation guidance.

Parameters

executablePath System.String? = null optionalposition: 0
public static String GetInstallationCommand() #
Returns: String

Returns only the example package-manager command, allowing hosts to localize the surrounding instructions.

public static String GetInstallationHint() #
Returns: String

Returns a concise installation command for the current operating system.

public static Boolean TryDiscover(String? executablePath, out TesseractRuntimeInfo? runtime) #
Returns: Boolean

Attempts to find an installed Tesseract executable without starting a process.

Parameters

executablePath System.String? requiredposition: 0
runtime OfficeIMO.Ocr.Tesseract.TesseractRuntimeInfo? requiredposition: 1