General information
Category:
COM/DCOM and OLE Automation
Title:
Automating MS Document Imaging
I need to transfer a lot of document tif images from an old program
to a new application. Some of the document images need to be combined. I'm
trying to use automation to open up and stitch them together. I'm
working with Microsoft Document Imaging 2003. MSDI is included in Office 2003 and supports automation. The software really does not have any documentation about automating it. I have tried to find documentation on MSDN and fail. The Documentation on MSDN is old and does not relate to the current version of MSDI.
What I want to do is to:
(1) Open the image automation server.
(2) Open a document image.
(3) Add a document image to the bottom of the old image
(4) Save it as a new image.
So far I have
o4 = CreateObject("MODI.Document")
o4.Create([c:\temp\189.tif])
o4.OCR
o4.SaveAs([c:\temp\189_test.tif])
The part I having trouble with is adding the new images to the old. The syntax is giving me fits. It is
o4.Images.Add(Page as object , Before page as object)
Any suggestions?
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only