从.DWG文件中提取文本 [英] Extracting text from .DWG files

查看:391
本文介绍了从.DWG文件中提取文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编写了一个搜索程序,通过目录结构搜索某个名称或包含某些文本的文件。



某些文件类型确实导致使用问题此方法因为文本未存储为原始字符串。 .DWG就在他们身上。



我在考虑使用外部库来解码它们,但我正在考虑我的程序的大小。我试图保持它的轻量级,这些库带有解码直线,弧等功能,当我刚刚在文本之后。



任何想法?

I have written a search program that hunts through a directory structure for files of a certain name or containing certain text.

Some file types do cause a problem using this method because the text is not stored as a raw string. .DWG is on of them.

I did ponder using an external library to decode them, but I''m thinking about size when it comes to my program. I am trying to keep it light and those libraries come with functions for decoding straight lines, arcs, etc when I''m just after the text.

Any ideas?

推荐答案

尝试使用 IFilter 界面:http://www.ifiltershop.com/dwg-ifilter.html [ ^ ]
Try using the IFilter interface : http://www.ifiltershop.com/dwg-ifilter.html[^]


这篇关于从.DWG文件中提取文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆