public enum OcrDisplayMode extends Enum<OcrDisplayMode>
| Enum Constant and Description |
|---|
SIDE_BY_SIDE
Default mode.
|
TEXT
Produces an image showing the recognized text of both documents as plain text, with deleted
and inserted words highlighted.
|
| Modifier and Type | Method and Description |
|---|---|
static OcrDisplayMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OcrDisplayMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OcrDisplayMode SIDE_BY_SIDE
public static final OcrDisplayMode TEXT
OcrChangeInfo.getSourceBoxes() and
OcrChangeInfo.getTargetBoxes() are empty in this
mode, as the result does not reproduce the pages the text was read from.
public static OcrDisplayMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static OcrDisplayMode[] values()
for (OcrDisplayMode c : OcrDisplayMode.values()) System.out.println(c);
Copyright © 2026 Aspose Pty Ltd. All rights reserved.