API Reference
Class
TesseractRuntime
Dependency-free discovery for an installed Tesseract command-line runtime.
Inheritance
- Object
- TesseractRuntime
Methods
public static TesseractRuntimeInfo Discover(String? executablePath = null) #Returns:
TesseractRuntimeInfoFinds an installed Tesseract executable or throws with platform-specific installation guidance.
Parameters
- executablePath System.String? = null
public static String GetInstallationCommand() #Returns:
StringReturns only the example package-manager command, allowing hosts to localize the surrounding instructions.
public static String GetInstallationHint() #Returns:
StringReturns a concise installation command for the current operating system.
public static Boolean TryDiscover(String? executablePath, out TesseractRuntimeInfo? runtime) #Returns:
BooleanAttempts to find an installed Tesseract executable without starting a process.
Parameters
- executablePath System.String?
- runtime OfficeIMO.Ocr.Tesseract.TesseractRuntimeInfo?
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?