Share via


Borders.AlwaysInFront Property (Word)

True if page borders are displayed in front of the document text. Read/write Boolean.

Syntax

expression .AlwaysInFront

expression A variable that represents a Borders object.

Example

This example adds a graphical page border in front of text in the first section in the active document.

Dim borderLoop as Border 
 
With ActiveDocument.Sections(1) 
 .Borders.AlwaysInFront = True 
 For Each borderLoop In .Borders 
 With borderLoop 
 .ArtStyle = wdArtPeople 
 .ArtWidth = 15 
 End With 
 Next borderLoop 
End With

See Also

Concepts

Borders Object Members

Borders Collection Object