Borders.AlwaysInFront Property

Word Developer Reference

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.

Visual Basic for Applications
  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