Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with MODI
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01031420
Message ID:
01031426
Views:
32
Kelly,

I found the documentation here:

http://www.microsoft.com/downloads/details.aspx?FamilyId=8F93E445-B1CF-4477-A373-E17417D616BC&displaylang=en

I had never looked at this before. It is very cool.

I just OCRed a 29 page TIFF and it gave me every word, its location and font. I even made some thumbnail images <vbg>

Here is some sample code:
o=NEWOBJECT("MODI.Document")
* load document
o.Create("c:\071105113751.tif")
oimg=o.Images

* make a thumbnail of page 2
opage=oimg.Item(1)
SAVEPICTURE(opage.Thumbnail,"test.bmp")

* OCR page 1
opage=oimg.Item(0)
opage.ocr()
?opage.Layout.Text
Very cool. Thanks.

>Can anybody help me find some good materials on using the Microsoft Office Document Imaging library. Specifically how to reference the library, a list of how to access the various functions (search for example).
>
>Thanks in advance
>Kelly
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform