Wordhandle:=CreateOLEObject('Word.Application');
Wordhandle.Documents.open('d:/jingdianpic.doc',true);
wordhandle.visible:=true;
wordhandle.Selection.Find.ClearFormatting;
wordhandle.Selection.Find.Replacement.ClearFormatting;
////////////////////
wordhandle.selection.inlineshapes.addpicture(filename:=edit1.Text);
wordhandle.selection.typebackspace;
wordhandle.selection.inlineshapes.height:=283.3;//这句出现错误,说inlineshapes不是方法
wordhandle.selection.inlineshapes.width:=377.85;
我用宏命令的转换来调整图片的大小,但是在上面我画横线的那句出现错误,不知道为什么,请高手赐教!!