Visual Studio2013使用Microsoft Office Document Imaging(MODI)的方法
若要安装和 Microsoft Office 2013 一同使用的 Microsoft Office Document Imaging (MODI),请选择以下方法之一:
方法 1:通过安装 SharePoint Designer 2007 安装 MODI
SharePoint Designer 2007 可从 Microsoft 下载中心免费下载。若要下载 SharePoint Designer 2007,并只安装其中的 MODI,请执行以下步骤:
- 从此位置下载并运行 SharePointDesigner.exe 文件:
下载 SharePoint Designer 2007 - 查看并接受软件许可。
- 单击“自定义”打开安装选项。
- 在“安装选项”选项卡上,单击向下箭头,将以下三个部分选为“不可用”:
- Microsoft Office SharePoint Designer
- Office 共享功能
- Office 工具
- 展开“Office 工具”。
- 单击“Microsoft Office Document Imaging”选项的向下箭头,选择“从本机运行全部程序”。
- 单击“立即安装”,然后单击“关闭”。
此屏幕截图显示了在安装 SharePoint Designer 2007 的过程中 MODI 的位置:

若要启动 Microsoft Office Document Imaging,请执行以下步骤:
- 单击“开始,然后选择“所有程序”。
- 单击“Microsoft Office”,然后选择“Microsoft Office 工具”。
- 单击“Microsoft Office Document Imaging”。
方法 2:使用 2007 Office System 介质安装 MODI
若要将 2007 Office System 中的 MODI 和 Office 2010 一同使用,请执行以下步骤:
- 启动 2007 Office System 安装过程。
- 查看并接受软件许可。
- 单击“自定义”打开安装选项。
- 在“安装选项”选项卡上,单击向下箭头,将所有部分选为“不可用”。
- 展开“Office 工具”。
- 单击“Microsoft Office Document Imaging”选项的向下箭头,选择“从本机运行全部程序”。
- 单击“立即安装”,然后单击“关闭”。
此屏幕截图显示了在安装 2007 Office system 的过程中 MODI 的位置:
若要启动 Microsoft Office Document Imaging,请执行以下步骤:
- 单击“开始”,然后选择“所有程序”。
- 单击“Microsoft Office”,然后选择“Microsoft Office 工具”。
- 单击“Microsoft Office Document Imaging”。
然后还要安装 CHSOCR.msi,他是微软MODI识别组件安装包
在程序中引用 的路径C:/Program Files/Common Files/Microsoft Shared/MODI/mdivwctl.dll
C#编程
private string Recognition(string strFileName)
{
string strResult = string.Empty;
// 宣告 MODI.Document 物件 modiDocument,并且实例化
MODI.Document modiDocument = new MODI.Document();
// MODI.Document 创建
modiDocument.Create(strFileName);
// 宣告 MODI.Image 物件 modiImage,其內容值来自 MODI.Document 物件 modiDocument
MODI.Image modiImage = (MODI.Image)modiDocument.Images[0];
// OCR Method(Language, WithAutoRotation, WithStraightenImage)
modiImage.OCR(MODI.MiLANGUAGES.miLANG_CHINESE_SIMPLIFIED, false, false);
// 組合 OCR 识别后的 Word
foreach (MODI.Word WordItem in modiImage.Layout.Words)
{
strResult += WordItem.Text;
}
modiDocument.Close(false);
// 回传识别结果
return strResult;
}
Visual Studio2013使用Microsoft Office Document Imaging(MODI)的方法的更多相关文章
- office2010安装Microsoft Office Document Imaging (MODI) 图解
office2010安装Microsoft Office Document Imaging (MODI) 图解 Microsoft Office 2010 中删除了 Microsoft Off ...
- Microsoft Office Document Imaging批量ocr 方法
先将pdf文件->导出->tiff文件,生成pdf每页的tiff文件 使用 G:\SoftWare-new\tiff文件合并拆分工具 将一个导出的单个tiff合并为一个tiff文件 再用 ...
- 备忘: Install MODI for use with Microsoft Office 201x
简介 Microsoft Office 2010 中删除了 Microsoft Office Document Imaging (MODI).本文提供了在计算机上安装 MODI 的步骤,还说明了重新获 ...
- Visual Studio 进行Excel相关开发,Microsoft.Office.Interop.Excel.dll库
1. Interop.Excel.dll 的查找 本文中将 Microsoft.Office.Interop.Excel.dll库简称为Interop.Excel.dll库 其实在使用Visual S ...
- Embedding Documents in Word 2007 by Using the Open XML SDK 2.0 for Microsoft Office
Download the sample code This visual how-to article presents a solution that creates a Word 2007 doc ...
- 在Visual Studio 中开发Office Add-in
作者:陈希章 发表于2017年7月13日 "Talk is cheap, show me the code",我们就用代码来说话吧.这一篇将给大家介绍如何开始Office Add- ...
- 以编程方式使用 Microsoft Office Visio 2003 ActiveX 控件
以编程方式使用 Microsoft Office Visio 2003 ActiveX 控件 2007/10/29 Mark BukovecEmpire Down Development 适用于:Mi ...
- NPOI写Excel,Microsoft.Office.Interop.excel.dll 转换Excel为PDF
首先要引用NPOI动态库和Microsoft.Office.Interop.excel.dll (Microsoft.Office.Interop.excel.dll 下载链接 ,下载以后解压文件,把 ...
- Microsoft.Office.Interop.Word 创建word
Microsoft.Office.Interop.Word 创建word 转载:http://www.cnblogs.com/chenbg2001/archive/2010/03/14/1685746 ...
随机推荐
- 【CSS3】Advanced2:Shadows
1.Box Shadows box-shadow:h-shadow v-shadow [blur模糊距离 spread阴影尺寸 color inset]; 2. Text Shadows text-s ...
- NOIP 2013 花匠
有多种方案,找拐点数目最简单O(n) 注意此题有相邻点价值一样,代码改变一点 #include <cstdio> #include<iostream> #include< ...
- POJ 1579 Function Run Fun
简单动态规划,详细代码网上有!
- Weblogic 集群部署说明 --转
代理web.xml 设置 <servlet> l <servlet-name>HttpClusterServlet</servlet-nam ...
- EasyUI实例源码
jQuery+EasyUI实例源码 http://www.51aspx.com/code/jQueryEasyUIExample ASP.NET MVC+EF+EasyUI权限 http://www. ...
- MAX函数和GROUP BY 语句一起使用的一个误区
使用MAX 函数和 GROUP 的时候会有不可预料的数据被SELECT 出来.下面举个简单的例子:想知道每个SCOREID 的 数学成绩最高的分数. 表信息:/*DDL Information For ...
- ios的@property属性和@synthesize属性
当你定义了一系列的变量时,需要写很多的getter和setter方法,而且它们的形式都是差不多的,,所以Xcode提供了@property 和@synthesize属性,@property用在 .h ...
- iotop,pt-ioprofile : mysql IO负载高的来源定位
http://www.cnblogs.com/cenalulu/archive/2013/04/12/3016714.html 前言: 在一般运维工作中经常会遇到这么一个场景,服务器的IO负载很高(i ...
- How to save/read file on different platforms
You can use standard c functions, such as fopen, fwrite, to save and read file on different platform ...
- locale 详解
locale 是国际化与本土化过程中的一个非常重要的概念,个人认为,对于中文用户来说,通常会涉及到的国际化或者本土化,大致包含三个方面: 看中文,写中文,与 window中文系统的兼容和通信.从实际经 ...