Visual Studio2013 methods for using Microsoft Office Document Imaging (MODI)

Source: Internet
Author: User
Tags microsoft download center

To install Microsoft Office Document Imaging (MODI) that you use with Microsoft Office 20,131, select one of the following methods:

Method 1: Install MODI by installing SharePoint Designer 2007

SharePoint Designer 2007 is free to download from the Microsoft Download Center. To download SharePoint Designer 2007 and install only the MODI in it, follow these steps:

    1. Download and run the SharePointDesigner.exe file from this location:
      Download SharePoint Designer 2007
    2. Review and accept the software license.
    3. Click Customize to open the installation options.
    4. On the Installation Options tab, click the down arrow to select the following three sections as unavailable:
      • Microsoft Office SharePoint Designer
      • Office Sharing Features
      • Office Tools
    5. Expand Office Tools.
    6. Click the down arrow for the Microsoft Office Document Imaging option, and select Run all from My computer.
    7. Click Install Now, and then click Close.

This screen shows the location of MODI in the process of installing SharePoint Designer 2007:

To start Microsoft Office Document Imaging, follow these steps:

    1. Click Start, and then select All Programs.
    2. Click Microsoft Office, and then select Microsoft Office Tools.
    3. Click Microsoft Office Document Imaging.
Method 2: Install MODI by using the Office System media

To use MODI and Office 20,101 in the Office System, follow these steps:

    1. Start the Office System installation process.
    2. Review and accept the software license.
    3. Click Customize to open the installation options.
    4. On the Installation Options tab, click the down arrow to select all sections as not available.
    5. Expand Office Tools.
    6. Click the down arrow for the Microsoft Office Document Imaging option, and select Run all from My computer.
    7. Click Install Now, and then click Close.

This screen shows the location of the MODI during the installation of the Office system:

To start Microsoft Office Document Imaging, follow these steps:

    1. Click Start, and then select All Programs.
    2. Click Microsoft Office, and then select Microsoft Office Tools.
      1. Click Microsoft Office Document Imaging.

Then also install Chsocr.msi, which is the Microsoft Modi Identification component installation package

The path referenced in the program C:/Program Files/common files/microsoft Shared/modi/mdivwctl.dll

C # Programming

private string Recognition (String strFileName)
{
String strresult = String. Empty;
Proclaim MODI. Document object Modidocument, and instantiated
MODI. Document modidocument = new MODI. Document ();
MODI. Document creation
Modidocument.create (strFileName);
Proclaim MODI. The Image object is Modiimage, and its contents are from MODI. Document Object Modidocument
MODI. Image modiimage = (MODI. Image) modidocument.images[0];
OCR Method (Language, withautorotation, Withstraightenimage)
MODIIMAGE.OCR (MODI.MiLANGUAGES.miLANG_CHINESE_SIMPLIFIED, False, false);
Combine OCR-recognized Word
foreach (MODI. Word Worditem in ModiImage.Layout.Words)
{
Strresult + = Worditem.text;
}
Modidocument.close (FALSE);
Callback Recognition results
return strresult;
}

Visual Studio2013 methods for using Microsoft Office Document Imaging (MODI)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.