在用DELPHI调用CODESOFT模板打印时,不知道为什么我使用下面的语句的时候总是提示
Method 'DocObjects' not supported by automation object
Method 'Dialogs' not supported by automation objectBarApp := CreateOleObject('lppx.Application');BarApp.ActiveDocument.DocObjects.Item('Text1');.value:= 'NEWVALUE';
BarApp.Dialogs.Item(1).Show;
另外想问一下,如何调整模板中TEXT的位置以及字体等属性,还望高手指点。