
如圖所示
控制臺開發撰寫
uj5u.com熱心網友回復:
OLE智能指標,Office自動化介面。對Office2010有效,但好像 2019之類的版本都無法呼叫了,沒有這個介面函式了。
Word::_ApplicationPtr myApp;
Word::DocumentsPtr spDocs;
Word::_DocumentPtr _spdoc;
Word::SelectionPtr spsel;
Word::_FontPtr sFont;
Word::ParagraphsPtr oParagraphs;
Word::ParagraphPtr oParagraph;
Word::InlineShapesPtr spshape;
Word::ShapesPtr shapes;
Word::_DocumentPtr activedoc;
Word::RangePtr oTargetRange;
//根據需要呼叫相應的API函式......
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/18208.html
上一篇:求scannet資料集的下載地址
下一篇:Python小白求助!!!
