Autor Beitrag
Bronstein
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 578
Erhaltene Danke: 1

WIN XP
Delphi 6 / Delphi 2006 / Delphi XE
BeitragVerfasst: Do 07.12.06 15:49 
Ich starte Word und füge ein leeres Blatt ein:
ausblenden Delphi-Quelltext
1:
2:
3:
  WordApplication := CreateOleObject('Word.Application');
  WordDocument := WordApplication.Documents.Add;
  Wordapplication.Visible := True;


Jetzt möchte ich die Seitenränder oben und unten auf 0,5cm einstellen. Wie mach ich das?

_________________
Es gibt keine dummen Fragen nur dumme Antworten!!!
NTM
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 120

Win XP
2005 Prof
BeitragVerfasst: Do 07.12.06 16:28 
Bronstein Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 578
Erhaltene Danke: 1

WIN XP
Delphi 6 / Delphi 2006 / Delphi XE
BeitragVerfasst: Do 07.12.06 18:03 
Das hatte ich mir auch schon angeschaut und auch nochmal angeschaut.

Gefunden habe ich aber wieder nichts!

_________________
Es gibt keine dummen Fragen nur dumme Antworten!!!
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Do 07.12.06 20:53 
Hallo

wordapplication->selection->pagesetup dort gibt es z.B. topmargin und bottommargin. Ansonsten einfach ein makro aufzeichnen, da siehst du das alles.

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
Bronstein Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 578
Erhaltene Danke: 1

WIN XP
Delphi 6 / Delphi 2006 / Delphi XE
BeitragVerfasst: Mo 11.12.06 09:45 
Danke

_________________
Es gibt keine dummen Fragen nur dumme Antworten!!!