Click or drag to resize

IPerPageTranslatorTranslatePage Method

Translates a single page into the translator's output format

Namespace:  Atalasoft.Ocr
Assembly:  Atalasoft.dotImage.Ocr (in Atalasoft.dotImage.Ocr.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
void TranslatePage(
	OcrEngine engine,
	OcrDocument doc,
	OcrPage page,
	Object translationObject,
	bool totalPagesKnown,
	int pageIndex,
	int totalPages
)

Parameters

engine
Type: Atalasoft.OcrOcrEngine
The OcrEngine requesting translation
doc
Type: Atalasoft.OcrOcrDocument
The OcrDocument which receives OcrPages during translation
page
Type: Atalasoft.OcrOcrPage
The last OcrPage that has been translated
translationObject
Type: SystemObject
The object returned by IPerPageTranslator.Prepare
totalPagesKnown
Type: SystemBoolean
A boolean indicating whether or not the total page count is known
pageIndex
Type: SystemInt32
The zero-based index of the current page
totalPages
Type: SystemInt32
The total pages (this is only valid if totalPagesKnown is true)
See Also