G
guan2000
Unregistered / Unconfirmed
GUEST, unregistred user!
我用OLe打开了word程序.
WordApp := CreateOleObject('Word.Application');
WordApp.Documents.Open(FileName:=ExtractFilePath(Application.ExeName)+'new.tmp', ReadOnly:=false);
Wordapp.ActiveDocument.PageSetup.LeftMargin :=0;
Wordapp.ActiveDocument.PageSetup.rightMargin :=0;
Wordapp.activeDocument.PageSetup.PageWidth:=200;
WordApp.Visible := True;
word能够成功连接,并打开.我怎么改变word窗口的位置(x,y)?
WordApp := CreateOleObject('Word.Application');
WordApp.Documents.Open(FileName:=ExtractFilePath(Application.ExeName)+'new.tmp', ReadOnly:=false);
Wordapp.ActiveDocument.PageSetup.LeftMargin :=0;
Wordapp.ActiveDocument.PageSetup.rightMargin :=0;
Wordapp.activeDocument.PageSetup.PageWidth:=200;
WordApp.Visible := True;
word能够成功连接,并打开.我怎么改变word窗口的位置(x,y)?