Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
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?
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement