AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Sprachen und Entwicklungsumgebungen Sonstige Fragen zu Delphi Delphi Rahmen in der Kopfzeile von Word zeichnen (OLE)
Thema durchsuchen
Ansicht
Themen-Optionen

Rahmen in der Kopfzeile von Word zeichnen (OLE)

Ein Thema von little_budda · begonnen am 25. Jul 2008 · letzter Beitrag vom 25. Jul 2008
Antwort Antwort
Seite 2 von 2     12   
Benutzerbild von little_budda
little_budda

Registriert seit: 5. Mai 2006
Ort: Velbert
246 Beiträge
 
Delphi 2006 Professional
 
#11

Re: Rahmen in der Kopfzeile von Word zeichnen (OLE)

  Alt 25. Jul 2008, 14:44
Ich habs.
So gehts
WordApp.Selection.ParagraphFormat.Borders.item(-2).LineStyle := 0; Danke für die Hilfe
Holger
Glück findet sich nicht im Code
Gefahren werden ist nur solange schön wie man selbst nicht lenken möchte ...
  Mit Zitat antworten Zitat
Benutzerbild von p80286
p80286

Registriert seit: 28. Apr 2008
Ort: Stolberg (Rhl)
6.659 Beiträge
 
FreePascal / Lazarus
 
#12

Re: Rahmen in der Kopfzeile von Word zeichnen (OLE)

  Alt 25. Jul 2008, 16:09
Hallo Little_budda,

Du warst eine ganze Ecke schneller als ich. Hier meine Version (index als Hex-Darstellung).
Delphi-Quellcode:
  msword.Selection.ParagraphFormat.Borders.item($FFFFFFFE).LineStyle:= 0;

  msword.Selection.ParagraphFormat.Borders.item($FFFFFFFC).LineStyle:= 0;
  msword.Selection.ParagraphFormat.Borders.item($FFFFFFFF).LineStyle:= 0;


  msword.Selection.ParagraphFormat.Borders.item($FFFFFFFD).LineStyle := 1 ;
  msword.Selection.ParagraphFormat.Borders.item($FFFFFFFD).LineWidth := 4 ;
  msword.Selection.ParagraphFormat.Borders.item($FFFFFFFD).ColorIndex := 0;

  msword.Selection.ParagraphFormat.Borders.DistanceFromTop := 1;
  msword.Selection.ParagraphFormat.Borders.DistanceFromLeft := 4 ;
  msword.Selection.ParagraphFormat.Borders.DistanceFromBottom := 1;
  msword.Selection.ParagraphFormat.Borders.DistanceFromRight := 4 ;
  msword.Selection.ParagraphFormat.Borders.Shadow := False ;


Grüße
K-H
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 2 von 2     12   


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 16:54 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz