MODI selection of rectable for OCR

E

eljainc

Hello,

We are using Microsoft Office Document Imaging 11.0 Type Library (MODI).
We are currently trying to automatically define the red rectable that
is defined by the user in the selection process. I would like to determine
the ROI (region of interest) at runtime. How can one programmatically set
this rectangle?

Here is code that I have for this procedure, but I suspsect it is something
similar to:

private void Form1_Activated(object sender, EventArgs e)
{
int Left,Right,Top,Bottom,PageNo;

ImageFile = "myimage.tif";
SetImage(ImageFile);

BoundsSpecified b;
b = new BoundsSpecified();

axMiDocView1.SetBounds(100, 100,600, 420,b);
}


Any hints are greatly apprieciated.

Mike McWhinney
elja, Inc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top