PPTextRecSettings
Settings for PPTextRec. Values fall back through three levels: document → SDK → built-in default. Writes target the document only when set on a document’s settings, otherwise the SDK globally when set on SdkSettings.
using Nutrient;The SDK creates this class through factory methods or other SDK objects.
Properties
BatchSize
public int BatchSize { get; set; }Gets or sets the value of BatchSize. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: int
ConfigPath
public string ConfigPath { get; set; }Gets or sets the value of ConfigPath. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: string
MaxImageWidth
public int MaxImageWidth { get; set; }Gets or sets the value of MaxImageWidth. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: int
ModelPath
public string ModelPath { get; set; }Gets or sets the value of ModelPath. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: string
UseCpuOnly
public bool UseCpuOnly { get; set; }Gets or sets the value of UseCpuOnly. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: bool
Resource management
public void Dispose()PPTextRecSettings implements IDisposable. Call Dispose() or use a C# using declaration to release its native handle right away. If you don’t, the handle is released when the object is garbage collected.