|
The Document Object |
|
Properties |
 |
Description |
| BuiltInDocumentProperties |
 |
An Office DocumentProperties collection |
 |
 |
 |
| CustomDocumentProperties |
 |
An Office DocumentProperties collection |
 |
 |
 |
| Dirty |
 |
TRUE if the document has unsaved changes |
 |
 |
 |
| Images |
 |
The document's collection of Image Objects.
Refer to the Image Object description below for
more information.
|
|
Methods |
 |
Description |
| Close |
 |
Closes the document. Unsaved changes will be
lost. |
 |
 |
 |
| Create |
 |
Creates a new document |
 |
 |
 |
| OCR |
 |
Performs OCR (on the entire document) |
 |
 |
 |
| PrintOut |
 |
Prints the document to a printer or file |
 |
 |
 |
| Save |
 |
Saves all changes to the document |
 |
 |
 |
| SaveAs |
 |
Saves the document as a new file with options
for image format change and compression
level change
|
|
Events |
 |
Description |
| OnOCRProgress |
 |
Occurs periodically during the OCR process. Reports the
estimated completion percentage and allows the
user to cancel the OCR process. |
 |
 |
 |
|
|
|
|
The Image Object |
|
Properties |
 |
Description |
| BitsPerPixel |
 |
Bits per pixel |
 |
 |
 |
| Compression |
 |
Compression level |
 |
 |
 |
| Layout |
 |
Results of OCR for the image |
 |
 |
 |
| Picture |
|
The image as an IPictureDisp interface |
 |
 |
 |
| PixelHeight |
|
Height of the image in pixels |
 |
 |
 |
| PixelWidth |
|
Width of the image in pixels |
 |
 |
 |
| Thumbnail |
|
The image as an IPictureDisp interface |
 |
 |
 |
| XDPI |
|
Pixels per inch (X-axis) |
 |
 |
 |
| YDPI |
|
Pixels per inch (Y-axis)
|
|
Methods |
 |
Description |
| OCR |
 |
Performs OCR (on the image only) |
 |
 |
 |
| Rotate |
 |
Rotates the image clockwise (90-degree increments) |
 |
 |
 |
|
|
|
|
The Layout Object |
| Layout
Object |
|
|
|
Properties |
 |
Description |
| Language |
 |
The OCR language setting |
 |
 |
 |
| NumChars |
 |
The number of characters recognized |
 |
 |
 |
| NumFonts |
 |
The number of fonts recognized |
 |
 |
 |
| NumWords |
|
The number of words recognized |
 |
 |
 |
| Text |
|
The recognized text |
 |
 |
 |
| Words |
|
The recognized text as a collection of Word
Objects. Refer to the Word Object description
below for more information. |
 |
 |
 |
Word Object |
|
|
|
Properties |
 |
Description |
| Font |
 |
The font used by the word (represented by an
MiFont Object). Refer to the MiFont Object
description below for more information. |
 |
 |
 |
| FontId |
 |
The index into the implicit fonts collection |
 |
 |
 |
| Id |
 |
The index into the image's Words collection |
 |
 |
 |
| LineId |
|
The index into the implicit lines collection |
 |
 |
 |
| RecognitionConfidence |
|
The OCR recognition confidence
factor |
 |
 |
 |
| Rects |
|
The bounding rectangles that include the word |
 |
 |
 |
| RegionId |
|
The index into the implicit regions
collection |
 |
 |
 |
| Text |
|
The Word Object's text |
 |
 |
 |
MiFont Object |
|
|
|
Properties |
 |
Description |
| FaceStyle |
 |
Face style (e.g. Bold) |
 |
 |
 |
| Family |
 |
Font family (e.g. Times New
Roman) |
 |
 |
 |
| FontSize |
 |
Font point size |
 |
 |
 |
| SerifStyle |
|
Font serif style (e.g. Thin) |
 |
 |
 |
|
  |
|