sewinten 发表于 2012-6-20 09:34:31

WriteMessage输出的内容怎么出现在命令行中,变成了命令??


Document doc = Application.DocumentManager.Open(strDWGFile, false);            
Application.DocumentManager.MdiActiveDocument = doc;
            strMsg = string.Format("\n图纸文件路径为{0}", strDWGFile);            
Editor newED = doc.Editor;
            newED.WriteMessage(strMsg);

执行的效果如下图,为什么输出的文字内容出现在命令行中,变成了命令?
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkkAAACsCAIAAADg9K97AAAf3UlEQVR4nO2dS5L1KJKFtTwWxEJq2maMMic96D2wFLZQO1APQOAO7jx0pRsKxfksreqPCMRLiIPz8u2fFf773//uM3i7bcYF/a/6H1m4TrDgbP5jcGYbM5UmOElwxvryI3t3IYQmfMPxRHBm22hUSgoxpHUzcQdnJl5/bpc5890WCAB4MNuSsB3aNhIT6/c9eB/EJL1tuy5RDHPPIiVnnCfq1j5z5FPqJcH1sKoOzmzGGPq2wigC0iy8c945X/4WQth37/3x19CkmP+q5c7xP7eNMDhDmlslcgCAX8b2zz//bNv2n//8p/+/XNsaep2At43yCb8qYtj8kfaMkjDqGYG23U8z8DDOWesPCSqSkWlf8LZtVAutczZGQp+wNj9nfXzTjsWUpbGNvw66Wb97qxia5Z90dAWVA+A3cc5ua5gd4NI+YiRTYqQ3ahvpEo2bfWiRkoZxR+aUdGvNmCpIfqaquRIZjyam3VazFr5bshT00IzgrPPzmtB7V/Stxn8HbrSr2sPMueCMUp5Y3mysWdvodWhMPwDAg/nAbqPLZnPaVs0izWob7VVOa1uQZjDFLBo3PxW1ZBd6W6QidqZsFq9NlxaWPqzHXwwOGtrbrJo0ytTVt6VVwo/KluypoiazD8f1uE6t19rWTEer2sYUSc2Pt9YfaRxTnnW6AIDfxAd2WzuYzj9I3XDT/bBuVlicy7YDfUxbrBuirM+1aR7zXYHmIqbJrJxmLo7mi/yNqJne0bfptoVdmhejqfF9HU02mg58EF4iThp68uazcLZtoZ3FNMa40EmpamrW+cCNML1uiLhp0hYNzcMepN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Yd5K7tpLZJ6U5rWxWeCELpAYXSSv2P9h0FuvGiGjaX4B9om2xTiV+mOBlBAvQqqG6nDXrfVClW+SX/NtomUWWP/3VW2yRpaYukaht9r4ac0TTlkpVjHTrUz/eLdYqxeQPeyMos0r6jnVyNNC/JBod158Q6FarCpQ9hG9vVudjqL+e0LVsX1bPdkfQV0OyOte3ff/9t5iT/INIO/GsvR9P3+APwHaR9m+BnETYDyBNhtyD2e4OeKjjnv5jFXdlvvGXpmpS3r2UXAAAAOMf/AzBwgeqyhAEtAAAAAElFTkSuQmCC

sewinten 发表于 2012-6-20 09:36:15

图没贴上,不好意思
C:\Documents and Settings\Administrator\桌面\未命名.jpg

sewinten 发表于 2012-6-20 09:42:27

为什么输出的文字内容出现在命令行中,变成了命令?
Document doc = Application.DocumentManager.Open(strDWGFile, false);            
Application.DocumentManager.MdiActiveDocument = doc;
strMsg = string.Format("\n图纸文件路径为{0}", strDWGFile);            
Editor newED = doc.Editor;
newED.WriteMessage(strMsg);
执行效果如下图

sieben 发表于 2012-6-20 15:47:31

请问应该出现在哪里?

sailorcwx 发表于 2012-6-20 21:11:39

看着不爽的话就再加一个\n

sewinten 发表于 2012-6-21 09:58:37

sailorcwx,谢谢了
页: [1]
查看完整版本: WriteMessage输出的内容怎么出现在命令行中,变成了命令??