![]() |
Re: Rahmen in der Kopfzeile von Word zeichnen (OLE)
Ich habs.
So gehts
Delphi-Quellcode:
Danke für die Hilfe
WordApp.Selection.ParagraphFormat.Borders.item(-2).LineStyle := 0;
|
Re: Rahmen in der Kopfzeile von Word zeichnen (OLE)
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 |
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:18 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz