Class PDFRenderer
Renders tesseract output into searchable PDF
public class PDFRenderer : UnmanagedObject, IDisposable, ITessResultRenderer
- Inheritance
-
PDFRenderer
- Implements
- Inherited Members
- Extension Methods
Constructors
PDFRenderer(string, string, bool)
Create a PDF renderer
public PDFRenderer(string outputBase, string dataDir, bool textOnly)
Parameters
outputBase
stringOutput base
dataDir
stringdataDir is the location of the TESSDATA. We need it because we load a custom PDF font from this location.
textOnly
boolText only
Properties
TessResultRendererPtr
Pointer to the unmanaged TessResultRendered
public nint TessResultRendererPtr { get; }
Property Value
Methods
DisposeObject()
Release the unmanaged memory associated with this Renderer
protected override void DisposeObject()