PdfTranslatorTranslatePage Method |
Translates an individual page to a PDF page.
Namespace:
Atalasoft.Ocr
Assembly:
Atalasoft.dotImage.Ocr (in Atalasoft.dotImage.Ocr.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void TranslatePage(
OcrEngine engine,
OcrDocument doc,
OcrPage page,
Object translationObject,
bool totalPagesKnown,
int pageIndex,
int totalPages
)
Public Sub TranslatePage (
engine As OcrEngine,
doc As OcrDocument,
page As OcrPage,
translationObject As Object,
totalPagesKnown As Boolean,
pageIndex As Integer,
totalPages As Integer
)
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)
Implements
IPerPageTranslatorTranslatePage(OcrEngine, OcrDocument, OcrPage, Object, Boolean, Int32, Int32)See Also